mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-05 11:59:38 +00:00
Add logs and block for templates
This commit is contained in:
8
templates/errors_block.html
Normal file
8
templates/errors_block.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if error_messages %}
|
||||
{% for error in error_messages %}
|
||||
<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 }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user