All pages inheriting from confadmin_base.html already process alert
messages using that template. Having it on the admin benefits made the
same message show up twice on the same page.
In passing remove CSS that used to be used for messages on timereports
but aren't anymore.
color:red;
float: right;
}
-ul.messages {
- background-color: yellow;
- list-style-type: none;
-}
-ul.messages li.error {
- background-color: yellow;
-}
select {
width: 350px;
margin-bottom: 10px;
{%block layoutblock%}
<h1>Conference Sponsorship - {{sponsor}}</h1>
-{% if messages %}
-<ul style="background-color: yellow;">
- {% for message in messages %}
- <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
- {% endfor %}
-</ul>
-{% endif %}
-
<h2>{{benefit.benefit}}</h2>
{%if benefit.confirmed%}
<p>This benefit has been fully confirmed.</p>