@php /** * @name Pagina login\Sezione agente * @version 1.0.0 */ @endphp @php $active = ''; if(!call_setting('app.modules.customers.status')){ $active = ' active'; } @endphp
@php if(call_setting('app.modules.customers.status')){ $login_agents_title_txt = __t('Login agenti'); }else{ $login_agents_title_txt = __t('Effettua il login'); } @endphp

{{ $login_agents_title = apply_filters('login_agents_title', $login_agents_title_txt) }}

{{ $login_agents_text = apply_filters('login_agents_text', "" ) }}

{!! Form::open(['url' => Request::url(), 'method' => 'post', 'class' => 'form-horizontal frm-loader', 'id' => 'frm-login-agents', 'novalidate' => true]) !!}
{!! Form::text('username', '', ['class' => 'form-control', 'placeholder' => __t('Username'), 'required' => true]) !!}
{!! Form::input('password', 'password', '', ['class' => 'form-control', 'placeholder' => __t('Password'), 'required' => true]) !!}
{!! Form::button(__t('Effettua il login'), ['type' => 'submit', 'class' => 'btn btn-block btn-primary'] ) !!}
{!! Form::close() !!} @if(call_setting('app.modules.customers.status'))
{!! Form::button(__t('Torna al login clienti'), ['class' => 'btn btn-block btn-secondary btn-switch-page', 'data-trigger' => 'customers-login' ] ) !!}
@endif