{{-- {{ __('Dashboard') }} --}}
  1. {{ __('Admin') }}
  2. {{ __('Users') }}
  3. {{ __('Create') }}

Create New User

{!!Form::open(['route' => 'admin.users.store', 'method' => 'post'])!!}
{{Form::label('firstname', 'First name', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('firstname', null, ['class' => 'border-none dark:bg-gray-800 dark:text-gray-300', $errors->has('firstname') ? 'is-invalid' : null])}} @if($errors->has('firstname'))

{{$errors->first('firstname')}}

@endif
{{Form::label('lastname', 'Last name', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('lastname', null, ['class' => 'border-none dark:bg-gray-800 dark:text-gray-300', $errors->has('lastname') ? 'is-invalid' : null])}} @if($errors->has('lastname'))

{{$errors->first('lastname')}}

@endif
{{Form::label('email', 'Email', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::email('email', null, ['class' => 'border-none dark:bg-gray-800 dark:text-gray-300', $errors->has('email') ? 'is-invalid' : null])}} @if($errors->has('email'))

{{$errors->first('email')}}

@endif
{{Form::label('phone', 'Phone number', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('phone', null, ['class' => 'border-none dark:bg-gray-800 dark:text-gray-300', $errors->has('phone') ? 'is-invalid' : null])}} @if($errors->has('phone'))

{{$errors->first('phone')}}

@endif
{{Form::checkbox('is_mobile', 1, false)}} {{Form::label('is_mobile', 'Is mobile?', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::checkbox('sms_authorized', 1, false)}} {{Form::label('sms_authorized', 'SMS Authorized?', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('address', 'Address', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('address', null, ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('zip', 'Postal Code', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('zip', null, ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('city', 'City', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::text('city', null, ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('state', 'State', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::select('state', $states, 'CA', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('country', 'Country', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}} {{Form::select('country', $countries, 'United States', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('affiliation_type_id', 'Affiliation Type')}} {{Form::select('affiliation_type_id', $affiliation_types, null, ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{ Form::label('password', 'Password (Leave blank if not changing)', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300', 'required' => true])}} {{Form::password('password', ['class'=>'form-control dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::label('role_id', 'Role', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::select('role_id', $roles, 3, ['class' => 'border-none dark:bg-gray-800 dark:text-gray-300', $errors->has('role_id') ? 'is-invalid' : null])}}
@if($errors->has('role_id'))

{{$errors->first('role_id')}}

@endif
{{Form::checkbox('email_verified_at', 1, true)}} {{Form::label('email_verified_at', 'Email Verified?', ['class'=>'control-label dark:bg-gray-800 dark:text-gray-300'])}}
{{Form::checkbox('is_active', 1, true)}} {{Form::label('is_active', 'Is active?', ['class'=>'form-control dark:bg-gray-800 dark:text-gray-300'])}}
{!!Form::close()!!}