letter branding text fields should be optional

This commit is contained in:
Leo Hemsted
2019-02-05 17:21:09 +00:00
parent 5405c2e1be
commit d5446774fa
2 changed files with 4 additions and 4 deletions

View File

@@ -232,7 +232,7 @@
{% call settings_row(if_has_permission='letter') %}
{{ text_field('Letter branding') }}
{{ text_field(current_service.letter_branding) }}
{{ optional_text_field(current_service.letter_branding.name) }}
{{ edit_field(
'Change',
url_for('.request_letter_branding', service_id=current_service.id),
@@ -309,7 +309,7 @@
{% endcall %}
{% call row() %}
{{ text_field('Letter branding')}}
{{ text_field(current_service.letter_branding.name) }}
{{ optional_text_field(current_service.letter_branding.name) }}
{{ edit_field('Change', url_for('.service_set_letter_branding', service_id=current_service.id)) }}
{% endcall %}
{% call row() %}