Use asterisks too on one question pages

This commit is contained in:
Neil Martinsen-Burrell 2023-02-28 12:52:01 -06:00
parent c6d15cff20
commit c84d7c78bf
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
6 changed files with 17 additions and 12 deletions

View file

@ -38,7 +38,7 @@
<fieldset class="usa-fieldset">
<legend>
<h2>What .gov domain do you want?</h2>
<h2>What .gov domain do you want? <abbr class="usa-hint usa-hint--required" title="required">*</abbr></h2>
</legend>
<p id="domain_instructions">After you enter your domain, well make sure its
@ -46,7 +46,7 @@
these initial checks, well verify that it meets all of our requirements once you
complete and submit the rest of this form.</p>
<p class="text-semibold">This question is required.</p>
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr> This question is required.</p>
{% with attr_aria_describedby="domain_instructions domain_instructions2" %}
{# attr_validate / validate="domain" invokes code in get-gov.js #}

View file

@ -3,14 +3,12 @@
{% block form_instructions %}
<h2 class="margin-bottom-05">
Which federal branch is your organization in?
Which federal branch is your organization in? <abbr class="usa-hint usa-hint--required" title="required">*</abbr>
</h2>
<p class="text-semibold">This question is required.</p>
{% endblock %}
{% block form_required_fields_help_text %}
{# commented out so it does not appear on this page #}
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr> This question is required.</p>
{% endblock %}

View file

@ -3,14 +3,13 @@
{% block form_instructions %}
<h2 class="margin-bottom-05">
What kind of U.S.-based government organization do you represent?
What kind of U.S.-based government organization do you represent? <abbr class="usa-hint usa-hint--required" title="required">*</abbr>
</h2>
<p class="text-semibold">This question is required.</p>
{% endblock %}
{% block form_required_fields_help_text %}
{# commented out so it does not appear on this page #}
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr> This question is required.</p>
{% endblock %}

View file

@ -7,6 +7,11 @@
<p>Well email these contacts to let them know that you made this request.</p>
{% endblock %}
{% block form_required_fields_help_text %}
{# there are no required fields on this page so don't show this #}
{% endblock %}
{% block form_fields %}
{{ forms.0.management_form }}

View file

@ -11,11 +11,10 @@
another top-level domain (like .com or .org)? Read about <a href="{% url 'todo' %}">activities that
are prohibited on .gov domains.</a></p>
<p class="text-semibold">This question is required.</p>
{% endblock %}
{% block form_required_fields_help_text %}
{# commented out so it does not appear on this page #}
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr> This question is required.</p>
{% endblock %}

View file

@ -1,6 +1,10 @@
{% extends 'application_form.html' %}
{% load static url_helpers %}
{% block form_required_fields_help_text %}
{# there are no required fields on this page so don't show this #}
{% endblock %}
{% block form_fields %}
{% for step in steps.all|slice:":-1" %}
<section class="review__step">
@ -104,4 +108,4 @@
</div>
</section>
{% endfor %}
{% endblock %}
{% endblock %}