Edit Colleges
@lang('app.intro-text')
{!! Form::model($college, ['method' => 'PATCH', 'route' => ['colleges.update', $college->id]]) !!}
{!! Form::label('institution_id', 'Select Institution') !!}
{!! Form::select(
'institution_id',
$institutions,
null,
$errors->has('institution_id')
? ['class' => 'form-control is-invalid', 'id' => 'institution_id']
: ['class' => 'form-control', 'id' => 'institution_id'],
) !!}
{!! Form::label('college_name', 'College Name*') !!}
{!! Form::text(
'college_name',
old('college_name'),
$errors->has('college_name')
? ['placeholder' => 'College Name', 'class' => 'form-control is-invalid']
: ['placeholder' => 'College Name', 'class' => 'form-control'],
) !!}
@if ($errors->has('college_name'))
{{ $errors->first('college_name') }}
@endif
{!! Form::label('college_acronym', 'College Acronym*') !!}
{!! Form::text(
'college_acronym',
old('college_acronym'),
$errors->has('college_acronym')
? ['placeholder' => 'College Acronym', 'class' => 'form-control is-invalid']
: ['placeholder' => 'College Acronym', 'class' => 'form-control'],
) !!}
@if ($errors->has('college_acronym'))
{{ $errors->first('college_acronym') }}
@endif
{{ Form::button('Update', ['type' => 'submit', 'class' => 'btn btn-lg btn-success pull-right']) }}