@extends ('backend.layouts.app') @section ('title', trans('labels.backend.access.users.management') . ' | ' . trans('labels.backend.access.users.edit')) @section('after-styles') @endsection @section('page-header')

{{ trans('labels.backend.access.users.management') }} {{ trans('labels.backend.access.users.edit') }}

@endsection @section('content') {{ Form::model($client, ['route' => ['admin.clients.clients.update', $client], 'enctype' => "multipart/form-data", 'class' => 'form-horizontal', 'id' => 'client_form', 'role' => 'form', 'method' => 'PATCH']) }}

{{ trans('labels.backend.access.users.edit') }}

@include('backend.clients.includes.partials.user-header-buttons')
{{ Form::label('Title', 'Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('client_title', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter title']) }}
{{ Form::label('Overview', 'Overview', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('client_overview', null, ['class' => 'form-control ckeditor', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter overview']) }}
{{ Form::label('client_nut_id', 'Client ID', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('client_nut_id', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter Client ID']) }}
{{ Form::label('Select Type', 'Select Type', ['class' => 'col-lg-2 control-label']) }}
@if ($client->id != 1)
{{ Form::label('status', trans('validation.attributes.backend.access.users.active'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::checkbox('status', '1', $client->status == 1) }}
@if (count($fa) > 0)
{{ Form::label('Select Financial Adviser', 'Select Financial Adviser', ['class' => 'col-lg-2 control-label']) }}
@else No Financial Advisers Avaliable @endif @endif
{{ link_to_route('admin.clients.clients.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-success btn-xs']) }}
@if ($client->id == 1) {{ Form::hidden('status', 1) }} {{ Form::hidden('assignees_roles[0]', 1) }} @endif {{ Form::close() }} @endsection @section('after-scripts') {{ Html::script('js/backend/access/users/script.js') }} @endsection