From 3267957ab81d527368e7eba2445f0fe352e791c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 24 Aug 2016 12:20:44 +0200 Subject: [PATCH] templates: move idp messages to main content zone (#12917) --- templates/authentic2/base-page.html | 12 ++++++++++++ templates/authentic2/base.html | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 templates/authentic2/base.html diff --git a/templates/authentic2/base-page.html b/templates/authentic2/base-page.html index 67c6c67..a972980 100644 --- a/templates/authentic2/base-page.html +++ b/templates/authentic2/base-page.html @@ -10,6 +10,18 @@ et de ses 31 communes + {% block messages %} + {% if messages %} +
+ +
+ {% endif %} + {% endblock %} +
{% block content %} {% endblock %} diff --git a/templates/authentic2/base.html b/templates/authentic2/base.html new file mode 100644 index 0000000..fbdbea9 --- /dev/null +++ b/templates/authentic2/base.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% load authentic2 %} + +{% block extra-top-head %} + {% block extrascripts %} + {% endblock %} + {% block extra_scripts %} + {% endblock %} + {% renderblock "css" %} + {% renderblock "js" %} + {{ form.media }} +{% endblock %} + +{% block placeholder-messages %} +{% endblock %}