{{-- Shared across every appointment tab (included via profile.blade.php), so every id in here must be unique on the page — every tab's own modal.blade.php uses the generic "#modal"/"#form"/"#id" ids for its own create form, and those would otherwise collide with this one and hijack it (as they did before this fix). --}}
{{-- Pushed to the layout's script stack: this partial is in the page body, which renders before jQuery is loaded — inline, $(document).on("submit") below threw and the form did a plain browser submit (page reload, nothing saved). --}} @push('scripts') @endpush