% endif
${h.form(h.url_for('search'), method='GET')}
-${h.text('query', c.query)}
-${h.submit('button', 'Search')}
+${h.text('query', c.query)}
+${h.submit('button', 'Search')}
% if c.user:
${h.submit('button', 'Save')}
</div>
+
+<% messages = h.flash.pop_messages() %>
+% if messages:
+<ul id="flash-messages">
+ % for message in messages:
+ <li>${message}</li>
+ % endfor
+</ul>
+% endif
+
+
<div id="body">
${next.body()}
</div>