@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')

Financial Advisor Edit Financial Advisor Edit

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

Financial Advisor Edit

@include('backend.fa.includes.partials.user-header-buttons')
{{ Form::label('email', trans('validation.attributes.backend.access.users.email'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::email('email', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'placeholder' => trans('validation.attributes.backend.access.users.email')]) }}
{{ Form::label('First name', 'First name', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('first_name', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter First Name']) }}
{{ Form::label('Last name', 'Last name', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('last_name', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter Last Name']) }}
{{ Form::label('Tel no', 'Tel no', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('fa_tel_no', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter tel no']) }}
{{ Form::label('Mobile', 'Mobile', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('fa_mobile', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Enter mobile']) }}
@if ($fa->id != 1)
{{ Form::label('status', trans('validation.attributes.backend.access.users.active'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::checkbox('status', '1', $fa->status == 1) }}
@endif @if (count($fac) > 0)
{{ Form::label('Select Financial Adviser Company', 'Select Financial Adviser Company', ['class' => 'col-lg-2 control-label']) }}
@else No Financial Adviser Companies @endif
{{ link_to_route('admin.fa.fa.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 ($fa->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