maposmatic/www/templates/generic_error.html

41 wiersze
1.3 KiB
HTML

{% extends "maposmatic/base.html" %}
{% comment %}
coding: utf-8
maposmatic, the web front-end of the MapOSMatic city map generation system
Copyright (C) 2018 Hartmut Holzgraefe
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
{% load i18n %}
{% load l10n %}
{% load extratags %}
{% block title %}{% trans "Form validation error" %}{% endblock %}
{% block page %}
<div class="card">
<h1 class="card-header text-white bg-danger"><i class="fa fa-triangle-exclamation"></i> {% trans "Form validation error" %}</h1>
<div class="card-body">
<h5 class="card-title">{% trans "One or more form inputs turned out to be invalid:" %}</h5>
{{ form.errors }}
<hr/>
<pre>
{{ form.cleaned_data | pprint}}
</pre>
</div>
</div>
{% endblock %}