{{ __('messages.client.edit_client') }}
{{ Form::open(['id' => 'editForm', 'files' => true]) }}
{{ Form::hidden('client_id', null, ['id' => 'clientId']) }}
{{ Form::label('name', __('messages.client.name').':') }}* {{ Form::text('name', '', ['id' => 'edit_name', 'class' => 'form-control', 'required','tabindex' => '1']) }}
{{ Form::label('department_id', __('messages.client.department').':') }}* @if(auth()->user()->can('manage_department'))
{{ Form::select('department_id', $departments, null, ['id' => 'edit_department_id', 'class' => 'form-control', 'required','placeholder'=>'Select Department','tabindex' => '2']) }}
@else {{ Form::select('department_id', $departments, null, ['id' => 'edit_department_id', 'class' => 'form-control', 'required','placeholder'=>'Select Department','tabindex' => '2']) }} @endif
{{ Form::label('email', __('messages.client.email').':') }} {{ Form::email('email', '', ['id' => 'edit_email', 'class' => 'form-control','tabindex' => '4']) }}
@can('manage_users')
{{ Form::label('password', __('messages.user.new_password').':') }}
{{ Form::label('password_confirmation', __('messages.user.confirm_password').':') }}*
@endcan
{{ Form::label('website', __('messages.client.website').':') }} {{ Form::url('website', '', ['id' => 'edit_website', 'class' => 'form-control','tabindex' => '7']) }}
{{ Form::label('photo', __('messages.client.image').':') }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'btn btn-primary', 'id' => 'btnEditSave', 'data-loading-text' => " Processing..." , 'tabindex' => '9']) }}
{{ Form::close() }}