diff piecrust/admin/templates/publish.html @ 953:e04f2ad5f931

admin: Show flashed messages on edit and publish pages.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 05 Oct 2017 20:36:05 -0700
parents 94fd4f07da83
children 4f136b746081
line wrap: on
line diff
--- a/piecrust/admin/templates/publish.html	Thu Oct 05 00:29:14 2017 -0700
+++ b/piecrust/admin/templates/publish.html	Thu Oct 05 20:36:05 2017 -0700
@@ -3,6 +3,12 @@
 {% block content %}
 <h1>Publish {{site_title}}</h1>
 
+{% with messages = get_flashed_messages() %}
+{% for message in messages %}
+<p class="bg-info">{{message}}</p>
+{% endfor %}
+{% endwith %}
+
 {% for target in targets %}
 <div>
     <h3>{{target.name}}</h3>