Skip to content

Commit

Permalink
Merge pull request #2313 from cisagov/nl/2239-additional-details-requ…
Browse files Browse the repository at this point in the history
…ired-messaging

Issue #2239 - additional details required fields messaging
  • Loading branch information
CocoByte authored Jun 17, 2024
2 parents bc86994 + 0cce720 commit 0d652ed
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/registrar/templates/domain_request_additional_details.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{% extends 'domain_request_form.html' %}
{% load static field_helpers %}

{% block form_instructions %}
<em>These questions are required (<abbr class="usa-hint usa-hint--required" title="required">*</abbr>).</em>
{% endblock %}


{% block form_required_fields_help_text %}
{# commented out so it does not appear at this point on this page #}
{% include "includes/required_fields.html" %}
{% endblock %}

{% block form_fields %}

<fieldset class="usa-fieldset margin-top-2">
<legend>
<h2>Are you working with a CISA regional representative on your domain request?</h2>
<p>.gov is managed by the Cybersecurity and Infrastructure Security Agency. CISA has <a href="https://www.cisa.gov/about/regions" target="_blank">10 regions</a> that some organizations choose to work with. Regional representatives use titles like protective security advisors, cyber security advisors, or election security advisors.</p>
</legend>

<!-- Toggle -->
<em>Select one (<abbr class="usa-hint usa-hint--required" title="required">*</abbr>).</em>
{% with add_class="usa-radio__input--tile" add_legend_class="usa-sr-only" %}
{% input_with_errors forms.0.has_cisa_representative %}
{% endwith %}
Expand All @@ -30,20 +30,21 @@ <h2>Are you working with a CISA regional representative on your domain request?<
{# forms.1 is a form for inputting the e-mail of a cisa representative #}
</div>


<fieldset class="usa-fieldset margin-top-2">
<legend>
<h2>Is there anything else you’d like us to know about your domain request?</h2>
</legend>

<!-- Toggle -->
<em>Select one (<abbr class="usa-hint usa-hint--required" title="required">*</abbr>).</em>
{% with add_class="usa-radio__input--tile" add_legend_class="usa-sr-only" %}
{% input_with_errors forms.2.has_anything_else_text %}
{% endwith %}
{# forms.2 is a small yes/no form that toggles the visibility of "cisa representative" formset #}
</fieldset>

<div id="anything-else">
<div class="margin-top-3" id="anything-else">
<p>Provide details below (<abbr class="usa-hint usa-hint--required" title="required">*</abbr>).</p>
{% with attr_maxlength=2000 add_label_class="usa-sr-only" %}
{% input_with_errors forms.3.anything_else %}
{% endwith %}
Expand Down

0 comments on commit 0d652ed

Please sign in to comment.