From 8d1723f7f1b9582ac6c522e024bb7b27db87f253 Mon Sep 17 00:00:00 2001 From: edmondsgarrett <43251554+edmondsgarrett@users.noreply.github.com> Date: Wed, 30 Aug 2023 16:02:25 -0500 Subject: [PATCH] task/WP-205: Add message for submitting >5 entities (#208) * Add message to bottom of final entity * Fixed message styling to conform to type of message --- .../submission_form/registration_form_scripts.html | 6 ++++++ .../templates/submission_form/submission_form.html | 1 + 2 files changed, 7 insertions(+) diff --git a/apcd-cms/src/apps/registrations/templates/submission_form/registration_form_scripts.html b/apcd-cms/src/apps/registrations/templates/submission_form/registration_form_scripts.html index e33c9c3e..d36befcb 100644 --- a/apcd-cms/src/apps/registrations/templates/submission_form/registration_form_scripts.html +++ b/apcd-cms/src/apps/registrations/templates/submission_form/registration_form_scripts.html @@ -345,6 +345,12 @@
+ ${ entities === 5 ? + {% if not r %} + `

If you need to associate more than 5 entities with your registration, submit a ticket with your additional entries and your registration ID (displayed after submitting this form).

` + {% endif %} + : '' + } `; entityIdGroupValidation(entities, reg_id); // add entity input validation for new entities on form entityPlanTypeValidation(entities, reg_id); diff --git a/apcd-cms/src/apps/registrations/templates/submission_form/submission_form.html b/apcd-cms/src/apps/registrations/templates/submission_form/submission_form.html index ed5d194c..b6d26f2a 100644 --- a/apcd-cms/src/apps/registrations/templates/submission_form/submission_form.html +++ b/apcd-cms/src/apps/registrations/templates/submission_form/submission_form.html @@ -7,6 +7,7 @@
{% include "nav_cms_breadcrumbs.html" %} + {% include 'snippets/tup-175-css-alerts-messages-ui-pattern.html' %}