@extends('themes.default1.admin.layout.admin') @section('Settings') class="active" @stop @section('settings-bar') active @stop @section('access') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content') {!! Form::model($accesses,['url' => 'postaccess/'.$accesses->id, 'method' => 'PATCH']) !!}

{{Lang::get('lang.access')}}

{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
@if(Session::has('success'))
Success! {!!Session::get('success')!!}
@endif @if(Session::has('fails'))
Fail! {!!Session::get('fails')!!}
@endif
{!! Form::label('password_expire',Lang::get('lang.expiration_policy')) !!} {!!Form::select('password_expire',['1 month','2 month','3 month'],null,['class' => 'form-control select']) !!}
{!! Form::label('reset_ticket_expire',Lang::get('lang.reset_token_expiration')) !!} {!! Form::text('reset_ticket_expire',$accesses->reset_ticket_expire,['class' => 'form-control']) !!}
{!! Form::label('agent_session',Lang::get('lang.agent_session_timeout')) !!} {!! Form::text('agent_session',$accesses->agent_session,['class' => 'form-control']) !!}
{!! Form::label('password_reset',Lang::get('lang.allow_password_resets')) !!} {!! Form::checkbox('password_reset',1) !!}
{!! Form::label('reg_method',Lang::get('lang.registration_method')) !!} {!!Form::select('reg_method',['public','private','dissabled'],null,['class' => 'form-control select']) !!}
{!! Form::label('user_session',Lang::get('lang.user_session_timeout')) !!} {!! Form::text('user_session',$accesses->user_session,['class' => 'form-control']) !!}
{!! Form::checkbox('bind_agent_ip',1,true) !!}   {!! Form::label('bind_agent_ip',Lang::get('lang.bind_agent_session_IP')) !!}
{!! Form::checkbox('reg_require',1,true,['class' => 'form-control']) !!}  {!! Form::label('reg_require',Lang::get('lang.registration_required')) !!}
{!! Form::checkbox('quick_access',1,true) !!}  {!! Form::label('quick_access',Lang::get('lang.client_quick_access')) !!}
@stop