Fix width of textbox on letter contact details page

This commit is contained in:
Chris Hill-Scott
2019-02-01 15:46:42 +00:00
parent a11d24e816
commit 1c042567e6
@@ -14,26 +14,28 @@
Add a new address Add a new address
</h1> </h1>
<div class="grid-row"> <div class="grid-row">
{% call form_wrapper() %} <div class="column-whole">
{{ textbox( {% call form_wrapper() %}
form.letter_contact_block, {{ textbox(
label='This will appear as the sender address on your letters.'|safe, form.letter_contact_block,
hint='10 lines maximum', label='This will appear as the sender address on your letters.'|safe,
width='1-1', hint='10 lines maximum',
rows=10, width='1-2',
highlight_tags=True rows=10,
highlight_tags=True
) }}
{% if not first_contact_block %}
<div class="form-group">
{{ checkbox(form.is_default) }}
</div>
{% endif %}
{{ page_footer(
'Add',
back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id),
back_link_text='Back'
) }} ) }}
{% if not first_contact_block %} {% endcall %}
<div class="form-group"> </div>
{{ checkbox(form.is_default) }}
</div>
{% endif %}
{{ page_footer(
'Add',
back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id),
back_link_text='Back'
) }}
{% endcall %}
</div> </div>
{% endblock %} {% endblock %}