diff options
author | Jef van Schendel <jefvanschendel@gmail.com> | 2011-05-28 21:02:34 +0200 |
---|---|---|
committer | Jef van Schendel <jefvanschendel@gmail.com> | 2011-05-28 21:02:34 +0200 |
commit | 716a0ac3f156459e9c6f6bcaab4769d2c64b4171 (patch) | |
tree | 6fb222ecb50a5d2236ec4e728cda3b1bd4d65ff0 /mediagoblin/templates | |
parent | 9ef7c0f7376ef18e9703722b6730021c95bbdb33 (diff) | |
download | mediagoblin-716a0ac3f156459e9c6f6bcaab4769d2c64b4171.tar.lz mediagoblin-716a0ac3f156459e9c6f6bcaab4769d2c64b4171.tar.xz mediagoblin-716a0ac3f156459e9c6f6bcaab4769d2c64b4171.zip |
Styled error messages
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/wtforms.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/wtforms.html b/mediagoblin/templates/mediagoblin/utils/wtforms.html index 4a37ab33..9adf8e53 100644 --- a/mediagoblin/templates/mediagoblin/utils/wtforms.html +++ b/mediagoblin/templates/mediagoblin/utils/wtforms.html @@ -26,13 +26,11 @@ {%- endif %} <div class="form_field_input">{{ field }}</div> {%- if field.errors -%} - <div class="form_field_errors"> - <ul> - {% for error in field.errors %} - <li>{{ error }}</li> - {% endfor %} - </ul> - </div> + {% for error in field.errors %} + <div class="form_field_error"> + {{ error }} + </div> + {% endfor %} {%- endif %} </div> {% endfor %} |