mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
Use optional text field for send files setting
This follows the convention for if you have an empty setting, it is greyed-out.
This commit is contained in:
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
{% call settings_row(if_has_permission='email') %}
|
{% call settings_row(if_has_permission='email') %}
|
||||||
{{ text_field('Send files by email') }}
|
{{ text_field('Send files by email') }}
|
||||||
{{ text_field(current_service.contact_link if current_service.contact_link else "Not set up", truncate=true) }}
|
{{ optional_text_field(current_service.contact_link, default="Not set up", truncate=true) }}
|
||||||
{{ edit_field(
|
{{ edit_field(
|
||||||
'Manage',
|
'Manage',
|
||||||
url_for('.send_files_by_email_contact_details', service_id=current_service.id),
|
url_for('.send_files_by_email_contact_details', service_id=current_service.id),
|
||||||
|
|||||||
Reference in New Issue
Block a user