{{ html()->text('name')->value($data->name)->class('form-control')->required() }}
User name.
Email
{{ html()->email('email')->value($data->email)->class('form-control')->required() }}
User email, this email for login.
Mobile Number
{{ html()->text('mobile_number')->value($data->mobile_number)->class('form-control')->required() }}
User mobile number.
Password
{{ html()->password('password')->id('password')->class('form-control')->autocomplete('new-password') }}
@if($data->page_type === 'update')
Leave it blank if you don't want to change
@else
User password, this password for login.
@endif
{{-- image --}}
Image
{{ html()->file('image')->class('custom-file-input')->accept('image/gif, image/jpeg,image/jpg,image/png')->attribute('data-max-width', '800')->attribute('data-max-height', '400') }}
Please upload the image (Recommended size: 160px × 160px, max 5MB)
@if ($data->page_type == 'update')
@else
@endif
{{-- only image has main image, add css class "show" --}}
{{-- delete flag for already uploaded image in the server --}}
{{-- Administrator cannot have shift --}}
@if ($data->role != 1)