Enable autosizing for some textboxes

This commit makes textboxes auto-resize any time they might be used to
enter long passages of text which would otherwise make them scroll
internally.
This commit is contained in:
Chris Hill-Scott
2019-10-16 16:34:18 +01:00
parent 6c0e853db4
commit 6fa0f06f5d
5 changed files with 5 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
belonging to this organisation requests to go live.
</p>
{% call form_wrapper() %}
{{ textbox(form.request_to_go_live_notes, width='1-1', rows=3) }}
{{ textbox(form.request_to_go_live_notes, width='1-1', rows=3, autosize=True) }}
{{ page_footer('Save') }}
{% endcall %}
</div>