@if(!empty($result))
Edit Admin User
@else
Add Admin User
@endif
{!! Form::label('name', trans('fields.name'),['class' => 'required']) !!} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => trans('fields.name'), 'autofocus']) !!} @if ($errors->has('name'))

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

@endif
{!! Form::label('email', trans('fields.email'),['class' => 'required']) !!} {!! Form::text('email', null, ['class' => 'form-control', 'placeholder' => trans('fields.email'), 'autofocus']) !!} @if ($errors->has('email'))

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

@endif
@if(empty($result))
{!! Form::label('password', trans('fields.password'),['class' => 'required']) !!}
@if ($errors->has('password'))

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

@endif
@endif
{!! Form::label('phone_number', trans('fields.phone'),['class' => 'required']) !!} {!! Form::text('phone_number', null, ['class' => 'form-control', 'placeholder' => trans('fields.phone'), 'autofocus']) !!} @if ($errors->has('phone_number'))

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

@endif
@section('style') @endsection @section('script') @endsection @push('module-js') @endpush