@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} | Edit Students @endsection @section('content')

Edit Students-{{ $student->user->last_name . ', ' . $student->user->first_name . ' ' . $student->user->middle_name . '(' . $student->reg_no . ')' }}

Here below is the list of information of the student to be edited,please you can edit the information,then click the button save to save changes or cancel to go back.

Basic Information

{!! Form::model($student, [ 'method' => 'PATCH', 'route' => ['admissions.update-student.details', $srs->encode($student->user->id)], ]) !!}
{!! Form::label('form4_index_no', 'Form Four Index No') !!} {!! Form::text('form4_index_no', null, ['placeholder' => 'Form Four Index No', 'class' => 'form-control']) !!}
{!! Form::label('form6_index_no', 'Form Six Index No') !!} {!! Form::text('form6_index_no', null, ['placeholder' => 'Form Six Index No', 'class' => 'form-control']) !!}
{!! Form::label('gender', 'Gender') !!} {!! Form::select('gender', ['M' => 'Male', 'F' => 'Female'], $student->user->gender, [ 'id' => 'gender', 'placeholder' => 'Select Gender', 'class' => 'form-control', ]) !!}
{!! Form::label('dob', 'Date Of Birth') !!} {!! Form::text('dob', null, ['placeholder' => 'Date Of Birth', 'class' => 'form-control']) !!}
{!! Form::label('dob_place', 'Place of Birth') !!} {!! Form::text('dob_place', null, ['placeholder' => 'Place of Birth', 'class' => 'form-control']) !!}
{!! Form::label('mobile_no', 'Mobile Number') !!} {!! Form::text('mobile_no', null, ['placeholder' => 'Mobile Number', 'class' => 'form-control']) !!}
{!! Form::label('mailing_address', 'Mailing Address (Postal)') !!} {!! Form::text('mailing_address', null, [ 'placeholder' => 'Mailing Address (Postal)', 'class' => 'form-control', ]) !!}
{!! Form::label('next_of_kin_mobile', 'Next of Kin Address (mobile number)') !!} {!! Form::text('next_of_kin_mobile', null, [ 'placeholder' => 'Next of Kin Address (mobile number)', 'class' => 'form-control', ]) !!}
{!! Form::label('email_address', 'Email') !!} {!! Form::text('email_address', null, ['placeholder' => 'Email', 'class' => 'form-control']) !!}
{!! Form::label('citizenship', 'Select Citizenship') !!} {!! Form::select('citizenship', $countries, null, [ 'id' => 'citizenship', 'placeholder' => 'Select Citizenship', 'class' => 'form-control', ]) !!}
{!! Form::label('sponsorship', 'Select Sponsorship') !!} {!! Form::select('sponsorship', ['Heslb' => 'Heslb', 'Private' => 'Private', 'Other' => 'Other'], null, [ 'id' => 'sponsorship', 'placeholder' => 'Select Sponsorship', 'class' => 'form-control', ]) !!}
{!! Form::label('account_no', 'Account Number') !!} {!! Form::text('account_no', null, ['placeholder' => 'Account Number', 'class' => 'form-control']) !!}
{!! Form::label('bank_name', 'Bank Name') !!} {!! Form::text('bank_name', null, ['placeholder' => 'Bank Name', 'class' => 'form-control']) !!}
{!! Form::label('is_disabled', 'Physical Challenges') !!} {!! Form::select('is_disabled', ['1' => 'Disabled', '0' => 'Non Disabled'], null, [ 'id' => 'is_disabled', 'placeholder' => 'Select Physical Challenges', 'class' => 'form-control', ]) !!}
{!! Form::label('entry_qualification', 'Entry Qualification') !!} {!! Form::select( 'entry_qualification', ['Direct Entry' => 'Direct Entry', 'Equivalent Entry' => 'Equivalent Entry'], null, ['id' => 'entry_qualification', 'placeholder' => 'Select Entry Qualification', 'class' => 'form-control'], ) !!}
{!! html_entity_decode( link_to( route('admissions.student-info', [$srs->encode($student->user_id), $srs->encode($student->campus_id)]), 'Cancel', ), ) !!} {!! Form::submit('Update', ['class' => 'btn btn-lg btn-primary float-right']) !!}
{!! Form::close() !!}

@lang('auth.login_username')

{{ $student->reg_no }}

@endsection