Test letter too long error banner using exisitng data-error-type attribute

This way we can avoid both creating an id attribute for testing
and testing by content.
This commit is contained in:
Pea Tyczynska
2019-10-24 14:17:01 +01:00
parent 4ca4cef1b3
commit c843940b14
5 changed files with 6 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
) }}
{% if letter_too_long %}
{% call banner_wrapper(type='dangerous', id='letter-too-long') %}
{% call banner_wrapper(type='dangerous') %}
{% include "partials/check/letter-too-long.html" %}
{% endcall %}
{% endif %}