# HG changeset patch # User Todd Larsen # Date 1221759148 0 # Node ID 8ee23f825ba8629b49c7c2cb8861018bfcceb8c5 # Parent f4af043068907044fd204bed29934b1143d135d0 Swap field value and "required" columns to make more columns for field errors. diff -r f4af04306890 -r 8ee23f825ba8 app/soc/templates/soc/templatetags/_field_as_table_row.html --- a/app/soc/templates/soc/templatetags/_field_as_table_row.html Thu Sep 18 17:31:01 2008 +0000 +++ b/app/soc/templates/soc/templatetags/_field_as_table_row.html Thu Sep 18 17:32:28 2008 +0000 @@ -14,23 +14,26 @@ {% if field.errors %}   -   - + {{ field.errors|join:"
" }} {% endif %} +{% if field.errors %} + +{% else %} +{% endif %} + + {{ field }} + {% if field.field.required %}(required){% endif %} - - {{ field }} - {{ field.help_text }}