Add optional label to text, options, phone, and multi-checkbox inputs
Use new optional attribute on fields that are optional Update styling to fit optional label and update translations
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
{{ TextInput(form.email, validation='email', optional=False) }}
|
||||
{{ PhoneInput(form.phone_number, form.phone_ext, phone_optional=False) }}
|
||||
|
||||
{{ OptionsInput(form.service_branch) }}
|
||||
{{ OptionsInput(form.citizenship) }}
|
||||
{{ OptionsInput(form.designation) }}
|
||||
{{ OptionsInput(form.service_branch, optional=False) }}
|
||||
{{ OptionsInput(form.citizenship, optional=False) }}
|
||||
{{ OptionsInput(form.designation, optional=False) }}
|
||||
|
||||
|
||||
<div class="usa-input">
|
||||
|
Reference in New Issue
Block a user