Change required message on yes/no form

This commit is contained in:
Rachid Mrad 2024-01-16 15:29:24 -05:00
parent bec3c96e0d
commit 3d1dab93c2
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
2 changed files with 4 additions and 1 deletions

View file

@ -612,6 +612,9 @@ class OtherContactsYesNoForm(RegistrarForm):
choices=((True, "Yes, I can name other employees."), (False, "No. (Well ask you to explain why.)")),
initial=initial_value,
widget=forms.RadioSelect,
error_messages={
'required': 'This question is required.',
}
)

View file

@ -51,7 +51,7 @@
{{ form.DELETE }}
{% endif %}
<div class="padding-top-1 clear-both">
<div class="clear-both">
{% input_with_errors form.first_name %}
</div>