mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
simplified since I am still getting template syntax errors
This commit is contained in:
parent
9156cdc770
commit
07df4b05d3
1 changed files with 4 additions and 18 deletions
|
@ -8,26 +8,12 @@
|
||||||
{{ field.label }}
|
{{ field.label }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!--
|
|
||||||
{% if widget.attrs.required %}
|
{% if widget.attrs.required %}
|
||||||
|
<!--Don't add asterisk to one-field forms -->
|
||||||
{% if field.label != "Is your organization an election office?" %}
|
{% if field.label == "Is your organization an election office?" or field.label == "What .gov domain do you want? or field.label == "I read and agree to the requirements for operating .gov domains." %}
|
||||||
{% if field.label != "What .gov domain do you want?" %}
|
{% else %}
|
||||||
{% if field.label != "I read and agree to the requirements for operating .gov domains." %}
|
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
|
||||||
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
-->
|
|
||||||
|
|
||||||
{% if widget.attrs.required and field.label in ["What is the name of the tribe you represent?", "Organization name",
|
|
||||||
"Street address", "City", "State, territory, or military post", "Zip code", "First name / given name", "Last name /
|
|
||||||
family name", "Title or role in your organization", "Email", "Phone"] %}
|
|
||||||
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</{{ label_tag }}>
|
</{{ label_tag }}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue