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"> <fieldset class="usa-fieldset">
<legend> <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> </legend>
<p id="domain_instructions">After you enter your domain, well make sure its <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 these initial checks, well verify that it meets all of our requirements once you
complete and submit the rest of this form.</p> 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" %} {% with attr_aria_describedby="domain_instructions domain_instructions2" %}
{# attr_validate / validate="domain" invokes code in get-gov.js #} {# attr_validate / validate="domain" invokes code in get-gov.js #}

View file

@ -3,14 +3,12 @@
{% block form_instructions %} {% block form_instructions %}
<h2 class="margin-bottom-05"> <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> </h2>
<p class="text-semibold">This question is required.</p>
{% endblock %} {% endblock %}
{% block form_required_fields_help_text %} {% 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 %} {% endblock %}

View file

@ -3,14 +3,13 @@
{% block form_instructions %} {% block form_instructions %}
<h2 class="margin-bottom-05"> <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> </h2>
<p class="text-semibold">This question is required.</p>
{% endblock %} {% endblock %}
{% block form_required_fields_help_text %} {% 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 %} {% endblock %}

View file

@ -7,6 +7,11 @@
<p>Well email these contacts to let them know that you made this request.</p> <p>Well email these contacts to let them know that you made this request.</p>
{% endblock %} {% endblock %}
{% block form_required_fields_help_text %}
{# there are no required fields on this page so don't show this #}
{% endblock %}
{% block form_fields %} {% block form_fields %}
{{ forms.0.management_form }} {{ 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 another top-level domain (like .com or .org)? Read about <a href="{% url 'todo' %}">activities that
are prohibited on .gov domains.</a></p> are prohibited on .gov domains.</a></p>
<p class="text-semibold">This question is required.</p>
{% endblock %} {% endblock %}
{% block form_required_fields_help_text %} {% 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 %} {% endblock %}

View file

@ -1,6 +1,10 @@
{% extends 'application_form.html' %} {% extends 'application_form.html' %}
{% load static url_helpers %} {% 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 %} {% block form_fields %}
{% for step in steps.all|slice:":-1" %} {% for step in steps.all|slice:":-1" %}
<section class="review__step"> <section class="review__step">