Skip to content
Snippets Groups Projects
Commit cae62f7d authored by Dan Braghis's avatar Dan Braghis
Browse files

Use blocktrans

parent f49281e9
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,11 @@ ...@@ -17,7 +17,11 @@
{% if form.errors %} {% if form.errors %}
<div class="messages"> <div class="messages">
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %} {% blocktrans count counter=form.errors.items|length %}
Please correct the error below.
{% plural %}
Please correct the errors below.
{% endblocktrans %}
</div> </div>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment