@extends('header') @section('head') @parent @stop @section('content') @parent {!! Former::open_for_files() ->addClass('warn-on-exit') !!} {!! Former::populateField('client_view_css', $client_view_css) !!} {!! Former::populateField('enable_portal_password', $enable_portal_password) !!} @if (!Utils::isNinja() && !Auth::user()->account->isWhiteLabel())
{!! trans('texts.white_label_custom_css', ['link'=>''.trans('texts.white_label_purchase_link').'']) !!}
@endif @include('accounts.nav', ['selected' => ACCOUNT_CLIENT_PORTAL])

{!! trans('texts.client_portal_login_settings') !!}

{!! Former::checkbox('enable_portal_password') ->text(trans('texts.enable_portal_password')) ->label(' ') !!} {!! Former::checkbox('fill_portal_password') ->text(trans('texts.fill_portal_password')) ->label(' ') !!} {!! Former::checkbox('send_portal_password') ->text(trans('texts.send_portal_password')) ->label(' ') !!}

{!! trans('texts.custom_css') !!}

{!! Former::textarea('client_view_css') ->label(trans('texts.custom_css')) ->rows(10) ->raw() ->autofocus() ->maxlength(60000) ->style("min-width:100%;max-width:100%;font-family:'Roboto Mono', 'Lucida Console', Monaco, monospace;font-size:14px;'") !!}
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
{!! Former::close() !!} @stop