add letter_contact_block edit fields

no actual template functionality yet - just the ability for services
that have letters enabled to edit a 10 line block that will go on the
top right hand side of their letters with contact information
This commit is contained in:
Leo Hemsted
2017-03-02 15:56:28 +00:00
committed by Chris Hill-Scott
parent 393cb5b2da
commit 5c3588445e
9 changed files with 189 additions and 11 deletions

View File

@@ -30,7 +30,9 @@
{% endif %}
</label>
{{ field(**{
'class': 'form-control form-control-{} textbox-highlight-textbox'.format(width) if highlight_tags else 'form-control form-control-{} {}'.format(width, 'textbox-right-aligned' if suffix else ''),
'class':
'form-control form-control-{} textbox-highlight-textbox'.format(width) if highlight_tags else
'form-control form-control-{} {}'.format(width, 'textbox-right-aligned' if suffix else ''),
'data-module': 'highlight-tags' if highlight_tags else '',
'rows': rows|string
}) }}