{{-- Shared create/edit form for the Branch module. `$branch` is null when creating, and the model instance when editing — every input uses old('field', $branch->field ?? '') so validation errors re-populate correctly in both modes. --}}
@csrf
to
is_active ?? true) ? 'checked' : '' }}>
Cancel