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

Tambah User

Kembali

{!! Form::open(array('action' => 'UserController@store')) !!} {!! csrf_field() !!}
{!! Form::label('display_name', 'Display Name') !!} {!! Form::text('display_name','', array('class' => 'form-control')) !!} {{ $errors->first('display_name') }}
{!! Form::label('email', 'Email') !!} {!! Form::text('email','', array('class' => 'form-control')) !!} {{ $errors->first('email') }}
{!! Form::label('password', 'Password') !!} {!! Form::password('password', array('class' => 'form-control')) !!} {{ $errors->first('password') }}
{!! Form::label('password', 'Konfirmasi Password') !!} {!! Form::password('password_confirmation', array('class' => 'form-control')) !!} {{ $errors->first('password') }}
{!! Form::label('level', 'Level') !!} {!! Form::select('level',array(''=>'-Pilih Role','Admin'=>'Admin','Perpus'=>'Perpus','Panitiapsb'=>'Panitia PPDB'),'', array('class' => 'form-control')) !!} {{ $errors->first('level') }}
{!! Form::submit('Simpan', array('class' => 'btn btn-primary'))!!} {!! Form::close() !!}
@endsection