mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 14:34:43 +02:00
trying another way to get rid of asterisk in one-field forms
This commit is contained in:
parent
c490cec333
commit
3ad42bf42e
2 changed files with 7 additions and 5 deletions
|
@ -610,7 +610,8 @@ class NoOtherContactsForm(RegistrarForm):
|
||||||
required=True,
|
required=True,
|
||||||
# label has to end in a space to get the label_suffix to show
|
# label has to end in a space to get the label_suffix to show
|
||||||
label=(
|
label=(
|
||||||
"Please explain why there are no other employees from your organization we can contact to help us assess your eligibility for a .gov domain."
|
"Please explain why there are no other employees from your organization "
|
||||||
|
"we can contact to help us assess your eligibility for a .gov domain."
|
||||||
),
|
),
|
||||||
widget=forms.Textarea(),
|
widget=forms.Textarea(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,10 +7,11 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ field.label }}
|
{{ field.label }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if widget.attrs.required %}
|
|
||||||
{% if field.label != "I read and agree to the requirements for operating .gov domains." %}
|
{% if widget.attrs.required %}
|
||||||
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
|
{% if field.label == "I read and agree to the requirements for operating .gov domains." %}
|
||||||
{% endif %}
|
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</{{ label_tag }}>
|
</{{ label_tag }}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue