{{ $panel }}

{!! Form::label('name', 'Name', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('name', null, ["placeholder" => "", "class" => "form-control border-form","autofocus", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'name'])
{!! Form::label('email', 'Email', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::email('email', null, ["placeholder" => "", "class" => "form-control border-form", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'email'])
{!! Form::label('password', 'Password', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::password('password', ["placeholder" => "", "class" => "form-control border-form","autofocus","id"=>"pass", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'password'])
{!! Form::label('confirmPassword', 'Confirm Password', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::password('confirmPassword', ["placeholder" => "", "class" => "form-control border-form"/*,"onkeyup"=>"passCheck()"*/,"id"=>"repatpass", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'confirmPassword'])
{!! Form::label('contact_number', 'ContactNumber', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('contact_number', null, ["placeholder" => "", "class" => "form-control border-form","autofocus", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'contact_number'])
{!! Form::label('address', 'Address', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('address', null, ["placeholder" => "", "class" => "form-control border-form", "required"]) !!} @include('includes.form_fields_validation_message', ['name' => 'address'])
@if(isset($data['roles']) && $data['roles']->count() > 0)
{!! Form::label('Access Level', 'User Access Level', ['class' => 'col-sm-2 control-label']) !!}
@foreach($data['roles'] as $role) @endforeach
@endif
{!! Form::label('main_image', 'Profile Image', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::file('main_image') !!} @include('includes.form_fields_validation_message', ['name' => 'main_image'])
@if (isset($data['row']))
@if ($data['row']->profile_image) @else

No image.

@endif
@endif