mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-11 23:14:49 +02:00
Fix double star required bug
This commit is contained in:
parent
a4adb5ed46
commit
370480572e
2 changed files with 6 additions and 8 deletions
|
@ -309,11 +309,10 @@ class OrganizationContactForm(RegistrarForm):
|
|||
)
|
||||
return federal_agency
|
||||
|
||||
# TODO-446: Update name of form + variable naming
|
||||
# TODO-446: Update name of form + variable naming + change label
|
||||
class TypeOfWorkForm(RegistrarForm):
|
||||
type_of_work = forms.CharField(
|
||||
required=False,
|
||||
label="TypeOfWork",
|
||||
label="Type of work",
|
||||
widget=forms.Textarea(),
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
|
|
|
@ -13,16 +13,15 @@
|
|||
<li>Include links to authorizing legislation, applicable bylaws or charter, or other documentation to support your claims.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr> This question is required.</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block form_required_fields_help_text %}
|
||||
{# empty this block so it doesn't show on this page #}
|
||||
<p class="text-semibold"><abbr class="usa-hint usa-hint--required" title="required">*</abbr>This question is required.</p>
|
||||
{% endblock %}
|
||||
|
||||
<!-- TODO-446: Change name form name -->
|
||||
{% block form_fields %}
|
||||
{% with attr_maxlength=1000 %}
|
||||
{% with attr_maxlength=1000 add_label_class="usa-sr-only" %}
|
||||
{% input_with_errors forms.0.type_of_work %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue