Merge pull request #3362 from alphagov/fix-message-too-long-error

Fix the error message for message-too-long
This commit is contained in:
Rebecca Law
2020-03-10 13:07:13 +00:00
committed by GitHub
3 changed files with 11 additions and 14 deletions

View File

@@ -1,13 +1,7 @@
{% from "components/banner.html" import banner_wrapper %}
<div class="bottom-gutter">
{% call banner_wrapper(type='dangerous') %}
<h1 class='banner-title'>
Message too long
</h1>
<p>
Text messages cannot be longer than {{ SMS_CHAR_COUNT_LIMIT }} characters.
Your message is {{ template.content_count }} characters.
</p>
{% endcall %}
</div>
<h1 class='banner-title'>
Message too long
</h1>
<p>
Text messages cannot be longer than {{ SMS_CHAR_COUNT_LIMIT }} characters.
Your message is {{ template.content_count }} characters.
</p>