annotate sat_templates/default/error/401.html @ 153:b84d20af0ed3

macros (field, form, textbox): general improvments: - use a generic "field" macro for most fields - added "required" class on input labels if suitable - extra kw args are used as input field attributes. Same thing for forms - better handling of id if label is missing - added blog_text macro in textbox for basic text blog input - textbox is more customisable (class and textarea class can be specified)
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:09:00 +0200
parents 33c7ce833d3f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
2b26eadd8ad7 error: 401 page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'error/base.html' %}
2b26eadd8ad7 error: 401 page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2
2b26eadd8ad7 error: 401 page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% block body %}
20
8fa2fd2e928e default: added i18n support
Goffi <goffi@goffi.org>
parents: 5
diff changeset
4 <h1>{% trans %}Unauthorized{% endtrans %}</h1>
8fa2fd2e928e default: added i18n support
Goffi <goffi@goffi.org>
parents: 5
diff changeset
5 <p>{% trans %}Sorry, you are not allowed to access this page.{% endtrans %}</p>
5
2b26eadd8ad7 error: 401 page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% endblock body %}