Skip to content
Snippets Groups Projects
Commit c50042e5 authored by ale's avatar ale
Browse files

show flashed messages

parent 460009db
No related branches found
No related tags found
No related merge requests found
......@@ -30,3 +30,12 @@ body {
.error {
color: red;
}
.flash {
background-color: #afa;
border-radius: 3px;
padding: 2px 2px 2px 4px;
color: white;
font-weight: bold;
}
......@@ -9,6 +9,11 @@
<div id="main">
<div id="form">
{%- for msg in get_flashed_messages() -%}
<p class="flash">{{ msg | e }}</p>
{%- endfor -%}
<form action="/user/details" method="post">
{{ form.hidden_tag() | safe }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment