{!! Form::label('name', 'Name *') !!} {!! Form::text('name', null, ['class' => ($errors->has('name')) ? 'form-control is-invalid' : 'form-control'] ) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('email', 'Email *') !!} {!! Form::text('email', null, ['class' => ($errors->has('email')) ? 'form-control is-invalid' : 'form-control'] ) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! Form::label('password', 'Password') !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::label('password_confirmation', 'Confirm Password') !!} @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
{!! Form::label('signature', 'Signature') !!}
{!! Form::file('file',['class' => 'custom-file-input']) !!} {!! Form::label('file', __('models/companies.fields.file').':' , ['class' => 'custom-file-label']) !!}
@foreach($roles as $role)
hasRole($role->name) ) ? 'checked' : ''}} onclick="return {{ ( isset($user) && $user->id == 1 && $role->id == 1 ) ? 'false' : 'true' }} ;" value="{{ $role->id }}">
@endforeach
{!! Form::submit('Save', ['class' => 'btn btn-danger btn-flat btn-lg']) !!} Cancel