{{ html()->form('POST', route('institution.store'))->class('needs-validation')->attributes(['novalidate'])->open() }} @isset($institution) {{ html()->hidden('id', $institution->id) }} @endisset
{{ html()->label('Title')->for('title') }} {{ html()->span('*')->class('text-danger') }} {{ html()->text('title')->value($institution->title ?? old('title'))->class('form-control')->placeholder('Enter Title')->required() }} {{ html()->div('Please enter a title.')->class('invalid-feedback') }}
{{ html()->label('Link')->for('Link') }} {{ html()->text('link')->value($institution->link ?? old('link'))->class('form-control')->placeholder('Enter Related Link') }}
{{ html()->label('Location')->for('Location') }} {{ html()->text('location')->value($institution->location ?? old('location'))->class('form-control')->placeholder('Enter Insititution Location') }}
{{ html()->label('Image')->class('form-label')->for('image') }}
{{ html()->label('Country')->class('form-label')->for('country_id') }} {{ html()->select('country_id', $countryOptions)->value($institution->country_id ?? old('country_id'))->class('form-select choices-select')->placeholder('Select') }}
{{ html()->form()->close() }}