# HG changeset patch # User Sverre Rabbelier # Date 1236899093 0 # Node ID 1e34fa8c5da0c0e60172f022d280c138f3d83b96 # Parent fec380dac1863700662dc2175efdb1646928ab45 Make the error message align with the input field Patch by: Sverre Rabbelier diff -r fec380dac186 -r 1e34fa8c5da0 app/soc/templates/soc/templatetags/_as_table_row.html --- a/app/soc/templates/soc/templatetags/_as_table_row.html Thu Mar 12 23:04:14 2009 +0000 +++ b/app/soc/templates/soc/templatetags/_as_table_row.html Thu Mar 12 23:04:53 2009 +0000 @@ -14,7 +14,10 @@ {% if errors %} - + {% block error_td %} +   + + {% endblock error_td %} {% for error in errors %} {{ error }}
{% endfor %} diff -r fec380dac186 -r 1e34fa8c5da0 app/soc/templates/soc/templatetags/_as_twoline_table_row.html --- a/app/soc/templates/soc/templatetags/_as_twoline_table_row.html Thu Mar 12 23:04:14 2009 +0000 +++ b/app/soc/templates/soc/templatetags/_as_twoline_table_row.html Thu Mar 12 23:04:53 2009 +0000 @@ -14,6 +14,10 @@ {% endcomment %} {% load forms_helpers %} +{% block error_td %} + +{% endblock error_td %} + {% block label_row %}