Fix double error border

This commit is contained in:
Chris Hill-Scott
2018-11-01 14:45:12 +00:00
parent d6b785d3fa
commit 8200514461
2 changed files with 7 additions and 9 deletions

View File

@@ -113,9 +113,7 @@
{% with {% with
count_of_recipients=count_of_recipients count_of_recipients=count_of_recipients
%} %}
{% call banner_wrapper(type='dangerous') %} {% include "partials/check/trying-to-send-letters-in-trial-mode.html" %}
{% include "partials/check/trying-to-send-letters-in-trial-mode.html" %}
{% endcall %}
{% endwith %} {% endwith %}
</div> </div>

View File

@@ -10,13 +10,13 @@
{% if template.template_type == 'letter' and current_service.trial_mode %} {% if template.template_type == 'letter' and current_service.trial_mode %}
{% set error = 'trial-mode-letters' %} {% set error = 'trial-mode-letters' %}
<div class="bottom-gutter"> <div class="bottom-gutter">
{% with {% call banner_wrapper(type='dangerous') %}
count_of_recipients=1 {% with
%} count_of_recipients=1
{% call banner_wrapper(type='dangerous') %} %}
{% include "partials/check/trying-to-send-letters-in-trial-mode.html" %} {% include "partials/check/trying-to-send-letters-in-trial-mode.html" %}
{% endcall %} {% endwith %}
{% endwith %} {% endcall %}
</div> </div>
{% elif error == 'not-allowed-to-send-to' %} {% elif error == 'not-allowed-to-send-to' %}
<div class="bottom-gutter"> <div class="bottom-gutter">