@extends('layouts.admin') @section('title', ($record ? 'Edit' : 'Create') . ' Area of Study') @section('content') @php use App\Enums\RecordStatus; use App\Models\Faculty; $faculties = Faculty::query()->orderBy('name')->get(['id', 'name', 'code']); @endphp @include('institution.partials.flash')
@csrf @if($formMethod !== 'POST') @method($formMethod) @endif
@error('faculty_id')
{{ $message }}
@enderror
@error('code')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
{{ $record ? 'Update' : 'Create' }} Cancel
@endsection