From 0a4a0e2e75fa7a487ccf7b95987a20c7f099a124 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sat, 7 Dec 2024 22:44:20 -0500 Subject: [PATCH] Add case twig templates and update referral source --- .../internal/admin/cases/add-case.html.twig | 153 ++++++++++++++++ .../admin/cases/assign-case.html.twig | 48 +++++ .../internal/admin/cases/edit-case.html.twig | 168 ++++++++++++++++++ .../list-referral-sources.html.twig | 3 - 4 files changed, 369 insertions(+), 3 deletions(-) create mode 100644 templates/internal/admin/cases/add-case.html.twig create mode 100644 templates/internal/admin/cases/assign-case.html.twig create mode 100644 templates/internal/admin/cases/edit-case.html.twig diff --git a/templates/internal/admin/cases/add-case.html.twig b/templates/internal/admin/cases/add-case.html.twig new file mode 100644 index 0000000..1a88ff8 --- /dev/null +++ b/templates/internal/admin/cases/add-case.html.twig @@ -0,0 +1,153 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+ +
+
+

Case Info

+

+
+
+
+ {{ form_errors(form) }} + + {{ form_start(form) }} +
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ +
+
+ {{ form_end(form) }} +
+
+
+
+
+{% endblock %} diff --git a/templates/internal/admin/cases/assign-case.html.twig b/templates/internal/admin/cases/assign-case.html.twig new file mode 100644 index 0000000..dc5ca48 --- /dev/null +++ b/templates/internal/admin/cases/assign-case.html.twig @@ -0,0 +1,48 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+ +
+
+{% endblock %} diff --git a/templates/internal/admin/cases/edit-case.html.twig b/templates/internal/admin/cases/edit-case.html.twig new file mode 100644 index 0000000..6982936 --- /dev/null +++ b/templates/internal/admin/cases/edit-case.html.twig @@ -0,0 +1,168 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+
+
+

Case Info

+

+
+
+
+ {{ form_errors(form) }} + + {{ form_start(form) }} +
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ +
+
+ {{ form_end(form) }} +
+
+
+
+
+{% endblock %} diff --git a/templates/internal/admin/referral_source/list-referral-sources.html.twig b/templates/internal/admin/referral_source/list-referral-sources.html.twig index cca6765..f45e86b 100644 --- a/templates/internal/admin/referral_source/list-referral-sources.html.twig +++ b/templates/internal/admin/referral_source/list-referral-sources.html.twig @@ -40,9 +40,6 @@
-
- {{ src.name }} -
{{ src.name }}