Allow rows to be passed to textbox

HTML textboxes have a rows attribute, which controls their height,
unless their height is overridden by CSS.
This commit is contained in:
Chris Hill-Scott
2016-04-14 14:00:49 +01:00
parent c465c0404b
commit 150aef2868
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
{{ textbox(form.subject, width='1-1') }}
</div>
<div class="column-two-thirds">
{{ textbox(form.template_content, highlight_tags=True, width='1-1') }}
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
{{ page_footer(
'Save',
delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None,