updated summary

This commit is contained in:
CocoByte 2024-05-17 12:28:44 -06:00
parent a789b34bc0
commit 321590ec5c
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
3 changed files with 2 additions and 19 deletions

View file

@ -646,23 +646,6 @@ class NoOtherContactsForm(BaseDeletableRegistrarForm):
)
# class CisaRepresentativeForm(BaseDeletableRegistrarForm):
# cisa_representative_email = forms.EmailField(
# required=False,
# max_length=None,
# label="Your representatives email",
# validators=[
# MaxLengthValidator(
# 320,
# message="Response must be less than 320 characters.",
# )
# ],
# error_messages={
# "invalid": ("Enter your email address in the required format, like name@example.com."),
# "required": ("Enter the email address of your CISA regional representative."),
# },
# )
class CisaRepresentativeForm(RegistrarForm):
JOIN = "cisa_representative"

View file

@ -158,7 +158,7 @@
{% if step == Step.ADDITIONAL_DETAILS %}
{% namespaced_url 'domain-request' step as domain_request_url %}
{% with title=form_titles|get_item:step value=domain_request.requested_domain.name|default:"Incomplete" %}
{% include "includes/summary_item.html" with title=title sub_header_text='CISA regional representative' value=domain_request.cisa_representative_email heading_level=heading_level editable=True edit_link=domain_request_url custom_text_for_value_none='No' %}
{% include "includes/summary_item.html" with title=title sub_header_text='CISA regional representative' value=domain_request.cisa_representative contact='true' heading_level=heading_level editable=True edit_link=domain_request_url custom_text_for_value_none='No' %}
{% endwith %}
<h3 class="register-form-review-header">Anything else</h3>

View file

@ -118,7 +118,7 @@
{# We always show this field even if None #}
{% if DomainRequest %}
{% include "includes/summary_item.html" with title='Additional details' sub_header_text='CISA regional representative' value=DomainRequest.cisa_representative_email custom_text_for_value_none='No' heading_level=heading_level %}
{% include "includes/summary_item.html" with title='Additional details' sub_header_text='CISA regional representative' value=DomainRequest.cisa_representative contact='true' custom_text_for_value_none='No' heading_level=heading_level %}
<h3 class="register-form-review-header">Anything else</h3>
<ul class="usa-list usa-list--unstyled margin-top-0">
{% if DomainRequest.anything_else %}