Rename module

HighlightTags was bad because:
- we haven’t called placeholders ‘tags’ for a long time
- it also does resizing of the `<textarea>`, not just highlighting the
  placeholders
This commit is contained in:
Chris Hill-Scott
2019-10-16 15:20:05 +01:00
parent d0ce4d07a3
commit 6c0e853db4
13 changed files with 22 additions and 19 deletions

View File

@@ -22,7 +22,7 @@
{{ textbox(form.name, width='1-1', hint='Your recipients will not see this') }}
</div>
<div class="column-two-thirds">
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=5) }}
{{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=5) }}
{% if current_user.platform_admin %}
{{ radios(form.process_type) }}
{% endif %}