comparison default/base/base.html @ 39:9abef4a23af0

base/base: a confirm message is displayed on top of page when confirm is set
author Goffi <goffi@goffi.org>
date Tue, 11 Jul 2017 07:47:59 +0200
parents d782227c088d
children 37fd11d71233
comparison
equal deleted inserted replaced
38:f371bc50ea45 39:9abef4a23af0
33 {% endif %} 33 {% endif %}
34 34
35 {{ script.generate_scripts() }} 35 {{ script.generate_scripts() }}
36 </head> 36 </head>
37 <body> 37 <body>
38 {% if confirm %}
39 {% block confirm %}
40 <div class="box post_confirm">{% trans %}Your answer has been recorded correctly.{% endtrans %}</div>
41 {%endblock confirm %}
42 {% endif %}
38 <div id="body"> 43 <div id="body">
39 {% block body %} 44 {% block body %}
40 {% endblock body %} 45 {% endblock body %}
41 </div> 46 </div>
42 <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer> 47 <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer>