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:
@@ -14,7 +14,7 @@
|
||||
<form id="portfolio-create" action="{{ url_for('portfolios.create_portfolio') }}" method="POST">
|
||||
{{ form.csrf_token }}
|
||||
|
||||
{{ TextInput(form.name) }}
|
||||
{{ TextInput(form.name, optional=False) }}
|
||||
{{ OptionsInput(form.defense_component, optional=False) }}
|
||||
{{ TextInput(form.description, paragraph=True) }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user