{{-- The category form, shared by the "add" card and every "edit" dialog. Expects: $category — the row being edited, or null when adding $templates — all templates for the account (so an assigned draft stays visible) --}} @php $prefix = $category ? 'c' . $category->id . '_' : 'new_'; @endphp