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

@if (isset($unit)) تعديل شهر @else أضافة شهر @endif

@csrf @if (isset($unit)) @method('PATCH') @endif
@if (auth()->user()->type != 'teacher')
active ? 'checked' : null) : null) }} value="1" class="form-check-input @error('active') is-invalid @enderror" type="checkbox" role="switch" id="flexSwitchCheckDefault">
@endif
@endsection