{% extends "base_short.html" %}
{% load i18n staticfiles bootstrap3 %}

{% block title %}
    <title>An error has occurred!</title>
{% endblock %}


{% block content %}
    <div class="container">
        <div class="auth-bg"></div>
        <div class="auth-center">
            <div class="auth-content">
                <div class="auth-box">
                    <h1 class="section-heading">{% trans " We are sorry, an error has occurred. " %}</h1>
                    <br>
                    <div class="auth-footer">
                        While trying to {{service}}, an error was encountered: <strong>{{error}}</strong>
                    </div>

                    <div class="text-center">
                        {% if urlname %}
                            <br>You can: <br><br>
                            <a class="btn choice-btn mr-2" href="{% url urlname %}" role="button">Go back and try again</a>
                        {% endif %}
                    <a class="btn choice-btn ml-2" href="{% url 'index' %}" role="button">Go to the indexpage</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}


