@extends('elibrary.staff.layouts.app') @section('content')

Add Student

@csrf @if(isset($student)) @method('PATCH') @endif
@if($errors->first('name'))
{{$errors->first('name')}}
@endif
@if($errors->first('email'))
{{$errors->first('email')}}
@endif
@if($errors->first('password'))
{{$errors->first('password')}}
@endif
@if($errors->first('address'))
{{$errors->first('address')}}
@endif
@if($errors->first('phone'))
{{$errors->first('phone')}}
@endif
@if($errors->first('roll_no'))
{{$errors->first('roll_no')}}
@endif
@if($errors->first('class'))
{{$errors->first('class')}}
@endif
@if($errors->first('ethnicity'))
{{$errors->first('ethnicity')}}
@endif
@if($errors->first('parent'))
{{$errors->first('parent')}}
@endif
status == 1) || old('status') ? 'checked' : ''}}>
@endsection