@extends("template.master") @section("section_content")

Perbaharui User

Kembali

@if($user->id == 1)
Tidak Dapat Di Akses, Jika Ingin Melakukan Perubahan Silahkan Edit Dalam Server Hosting , Ini Adalah Area Terlarang
@else {!! Form::model($user, array('url' => array('app_admin/user/update', $user->id), 'method' => 'PUT','files'=>'true')) !!} {!! csrf_field() !!}
{!! Form::label('display_name', 'Display Name') !!} {!! Form::text('display_name',null, array('class' => 'form-control')) !!} {{ $errors->first('display_name') }}
{!! Form::label('email', 'Email') !!} {!! Form::text('email',null, array('class' => 'form-control')) !!} {{ $errors->first('email') }}
{!! Form::label('password', 'Password') !!} {!! Form::text('password',null, array('class' => 'form-control')) !!} {{ $errors->first('password') }}
{!! Form::label('password', 'Konfirmasi Password') !!} {!! Form::text('password_confirmation',$user->password, array('class' => 'form-control')) !!} {{ $errors->first('password') }}
{!! Form::label('level', 'Level') !!} {!! Form::select('level',array(''=>'-Pilih Role','Admin'=>'Admin','Perpus'=>'Perpus','Panitiapsb'=>'Panitia PPDB'),null, array('class' => 'form-control')) !!} {{ $errors->first('level') }}
{!! Form::submit('Simpan', array('class' => 'btn btn-primary'))!!} {!! Form::close() !!} @endif
@endsection