@extends("layout") @section("content")
New Department Head/Supervisor
@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif {{ Form::open(array('route' => array('hod.index'), 'id' => 'form-create-user', 'files' => true)) }}
{{ Form::label('full_name', trans('messages.full-name')) }} {{ Form::text('full_name', Input::old('full_name'), ['class' => 'form-control']) }}
{{ Form::label('email', trans('messages.email-address')) }} {{ Form::email('email', Input::old('email'), ['class' => 'form-control']) }}
{{ Form::label('department', 'Department Headed', array('class'=>'control-label')) }} {{ Form::select('department', array_merge(array(null => 'Select department... '), $department_list), Input::old('department'), array('class' => 'form-control', 'id' => 'department')) }} @if ($errors->has('department')) {{ $errors->first('department') }} @endif
{{ Form::label('image', trans('messages.photo')) }} {{ Form::file("image") }}
{{ Form::button(' '.trans('messages.save'), ['class' => 'btn btn-primary', 'onclick' => 'submit()'] ) }}
{{ Form::close() }}
@stop