From f81e65938dadf1f6770a80577cfe4375babb470b Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 10 Dec 2024 22:54:34 -0500 Subject: [PATCH] Add override level checkbox and method on form submit --- .../internal/admin/cases/assign-case.html.twig | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/internal/admin/cases/assign-case.html.twig b/templates/internal/admin/cases/assign-case.html.twig index b89c321..7ec3870 100644 --- a/templates/internal/admin/cases/assign-case.html.twig +++ b/templates/internal/admin/cases/assign-case.html.twig @@ -19,12 +19,15 @@

Assign Case Worker

+ {{ form_start(form, {'attr': {'onsubmit': 'return validateAssignForm()'}}) }} + {{ form_errors(form) }} - {{ form_start(form) }}
+ + - {% for w in caseWorkers %} {% set selected = (w.id == assignedWorkerId) %} @@ -34,12 +37,12 @@
- - +    +
- +
{{ form_end(form) }}