mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Enable placeholders in letter contact block
Depends on: - [x] https://github.com/alphagov/notifications-api/pull/950 - [x] https://github.com/alphagov/notifications-template-preview/pull/18 - [x] https://github.com/alphagov/notifications-utils/pull/161 - [ ] https://github.com/alphagov/notifications-utils/pull/164
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
{% call row() %}
|
||||
{{ text_field('Letter contact details') }}
|
||||
{% call field(status='' if current_service.letter_contact_block else 'default') %}
|
||||
{{ current_service.letter_contact_block | escape | nl2br | safe }}
|
||||
{{ letter_contact_block | string | nl2br | safe if current_service.letter_contact_block else 'None'}}
|
||||
{% endcall %}
|
||||
{{ edit_field('Change', url_for('.service_set_letter_contact_block', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
label='How should users contact your service?<br>This applies to all the letters you send.'|safe,
|
||||
hint='10 lines maximum',
|
||||
width='1-1',
|
||||
rows=10
|
||||
rows=10,
|
||||
highlight_tags=True
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
|
||||
Reference in New Issue
Block a user