{{ $panel }}

{!! Form::label('user_type', 'Type', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('user_type', ["0"=>"Select Type","1"=>"Student","2"=>"Staff"], null, ['class' => 'form-control']) !!}
{!! Form::label('reg_no', 'REG No.', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('reg_no', $data['reg_no'], ["placeholder" => "", "class" => "form-control border-form","autofocus"]) !!}
{{-- {!! Form::label('status', 'Status', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('status', ["1"=>"Active","0"=>"Leave"], null, ['class' => 'form-control']) !!} @include('includes.form_fields_validation_message', ['name' => 'status'])
--}}
@if(!isset($data['row']))
{!! Form::label('hostel', 'Hostel', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('hostel', $data['hostels'], null, ['class' => 'form-control', "required", "onChange" => "loadRooms(this)"]) !!} @include('includes.form_fields_validation_message', ['name' => 'hostel'])
@endif