mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-05 03:49:38 +00:00
errors_block: add i18n translate
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% load i18n %}
|
||||
{% if error_messages %}
|
||||
{% for error in error_messages %}
|
||||
<!-- Error Messages -->
|
||||
@@ -5,7 +6,7 @@
|
||||
<div class="col-lg-12">
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> {{ error }}
|
||||
<strong>{% trans 'Error' %}:</strong> {{ error }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user