1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

errors_block: add i18n translate

This commit is contained in:
catborise 2019-10-28 08:58:24 +03:00
parent f72d969c25
commit a59dcde688

View file

@ -1,3 +1,4 @@
{% load i18n %}
{% if error_messages %} {% if error_messages %}
{% for error in error_messages %} {% for error in error_messages %}
<!-- Error Messages --> <!-- Error Messages -->
@ -5,7 +6,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="alert alert-danger alert-dismissible" role="danger"> <div class="alert alert-danger alert-dismissible" role="danger">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<strong>Error:</strong> {{ error }} <strong>{% trans 'Error' %}:</strong> {{ error }}
</div> </div>
</div> </div>
</div> </div>