mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Revert "Add character count as you type"
This reverts commit fbc4abf85d.
This commit is contained in:
@@ -9,16 +9,9 @@
|
||||
width='2-3',
|
||||
suffix=None,
|
||||
safe_error_message=False,
|
||||
rows=8,
|
||||
character_count=False,
|
||||
service_name=None
|
||||
rows=8
|
||||
) %}
|
||||
<div
|
||||
class="form-group{% if field.errors %} error{% endif %}"
|
||||
{% if autofocus %}data-module="autofocus"{% endif %}
|
||||
{% if character_count %}data-module="character-count"{% endif %}
|
||||
{% if service_name %}data-service-name="{{ service_name }}"{% endif %}
|
||||
>
|
||||
<div class="form-group{% if field.errors %} error{% endif %}" {% if autofocus %}data-module="autofocus"{% endif %}>
|
||||
<label class="form-label" for="{{ field.name }}">
|
||||
{% if label %}
|
||||
{{ label }}
|
||||
|
||||
@@ -18,14 +18,7 @@
|
||||
{{ textbox(form.name, width='1-1', hint='Your recipients won’t see this') }}
|
||||
</div>
|
||||
<div class="column-two-thirds">
|
||||
{{ textbox(
|
||||
form.template_content,
|
||||
highlight_tags=True,
|
||||
character_count=True,
|
||||
width='1-1',
|
||||
service_name=current_service.name,
|
||||
rows=5
|
||||
) }}
|
||||
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=5) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None,
|
||||
|
||||
@@ -20,15 +20,12 @@
|
||||
|
||||
<ul class="list list-bullet">
|
||||
<li>Free allowance: 250,000 text messages per service, per financial year</li>
|
||||
<li>
|
||||
If your messages are long, they will count as 2 or 3 text messages, depending on length:
|
||||
<ul class="list list-bullet">
|
||||
<li>Up to 160 characters = 1 text message</li>
|
||||
<li>Up to 306 characters = 2 text messages</li>
|
||||
<li>Up to 459 characters = 3 text messages</li>
|
||||
<li>Your service name counts towards the length of your message</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>If your messages are long, they will count as 2 or 3 text messages, depending on length:
|
||||
<ul class="list list-bullet">
|
||||
<li>Up to 160 characters = 1 text message</li>
|
||||
<li>Up to 306 characters = 2 text messages</li>
|
||||
<li>Up to 459 characters = 3 text messages</li>
|
||||
</ul></li>
|
||||
<li>Standard text message rate: 1.8p + VAT</li>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user