{{ __('messages.client.new_client') }}
{{ Form::open(['id' => 'addNewForm', 'files' => true]) }}
{{ Form::label('name', __('messages.client.name').':') }}* {{ Form::text('name', '', ['id' => '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' => 'department_id', 'class' => 'form-control', 'required','placeholder'=>'Select Department','tabindex' => '2']) }}
@else {{ Form::select('department_id', $departments, null, ['id' => 'department_id', 'class' => 'form-control', 'required','placeholder'=>'Select Department','tabindex' => '2']) }} @endif
{{ Form::label('email', __('messages.client.email').':') }} {{ Form::email('email', '', ['id' => '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' => 'website', 'class' => 'form-control', 'tabindex' => '8']) }}
{{ Form::label('photo', __('messages.client.image').':') }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'btn btn-primary', 'id' => 'btnSave', 'data-loading-text' => " Processing..." , 'tabindex' => '10']) }}
{{ Form::close() }}