ui Añadir imagen a la página de error 403

parent b34bf30b
{% extends 'base.html' %}
{% load i18n custom_tags %}
{% load i18n custom_tags static %}
{% block title %}{% trans "403 Prohibido" %}{% endblock title %}
{% block description %}{% trans "403 Prohibido" %}{% endblock description %}
......@@ -9,11 +9,14 @@
<hr />
<br />
<p>{% trans 'No está autorizado a realizar esta acción:' %}<p>
<div style="text-align: center;">
<p><img src="{% static 'img/star_wars_lego_storm_trooper_parade.jpg' %}" alt="Tropas imperiales"></p>
<p>{% trans 'No está autorizado a realizar esta acción:' %}<p>
<div class="alert alert-danger" role="alert">
{% alert_icon 'error' %}
{{ exception }}
<div class="alert alert-danger" role="alert">
{% alert_icon 'error' %}
{{ exception }}
</div>
</div>
</div>
{% endblock content %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment