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
count_of_recipients=count_of_recipients
%}
{% call banner_wrapper(type='dangerous') %}
{% include "partials/check/trying-to-send-letters-in-trial-mode.html" %}
{% endcall %}
{% include "partials/check/trying-to-send-letters-in-trial-mode.html" %}
{% endwith %}
</div>

View File

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