{{-- Shared UX for admin create/edit modal forms. - Client-side validation (Bootstrap was-validated) before submit. - Double-submit protection: on a valid submit the button is disabled and shows a spinner until the page navigates. Mark a form with class="js-modal-form" and add `novalidate`. Server-side validation: controllers use $request->validate(), which redirects back with errors + old input. Each form carries equal to its modal id; the snippet below re-opens that modal so errors are shown inline with the user's input preserved. --}} @push('scripts') @endpush