{!! Form::text('name', null, ['class' => 'form-control']) !!} @if ($errors->has('name')) {{$errors->first('name')}} @endif
{!! Form::text('nohp', null, ['class' => 'form-control']) !!} @if ($errors->has('nohp')) {{$errors->first('nohp')}} @endif
{!! Form::textarea('alamat', null, ['class' => 'form-control']) !!} @if ($errors->has('alamat')) {{$errors->first('alamat')}} @endif
{!! Form::text('noktp', null, ['class' => 'form-control']) !!} @if ($errors->has('noktp')) {{$errors->first('noktp')}} @endif
{!! Form::email('email', null, ['class' => 'form-control']) !!} @if ($errors->has('email')) {{$errors->first('email')}} @endif
{!! Form::password('password', ['class' => 'form-control']) !!} @if (!empty($data)) Input hanya jika ingin mengganti password. @endif @if ($errors->has('password')) {{$errors->first('password')}} @endif
{!! Form::password('password_confirmation', ['class' => 'form-control', 'id' => 'password-confirm']) !!} @if ($errors->has('password_confirmation')) {{$errors->first('password_confirmation')}} @endif
{!! Form::file('foto', ['class' => 'form-control','accept'=>'image/x-png,image/gif,image/jpeg']) !!} @if ($errors->has('foto')) {{$errors->first('foto')}} @endif
@section('scripts') @endsection @section('style') @endsection