Give error messages more room in the existing form field "as_table" templates.
Patch by: Todd Larsen
Review by: to-be-reviewed
--- a/app/soc/templates/soc/templatetags/_as_table_row.html Wed Jan 21 02:14:05 2009 +0000
+++ b/app/soc/templates/soc/templatetags/_as_table_row.html Wed Jan 21 02:18:07 2009 +0000
@@ -14,8 +14,7 @@
{% if errors %}
<tr>
- <td> </td>
- <td class="formfielderror">
+ <td colspan="4" class="formfielderror">
{% for error in errors %}
<span class="formfielderrorlabel">{{ error }}</span> <br />
{% endfor %}
--- a/app/soc/templates/soc/templatetags/_field_as_table_row.html Wed Jan 21 02:14:05 2009 +0000
+++ b/app/soc/templates/soc/templatetags/_field_as_table_row.html Wed Jan 21 02:18:07 2009 +0000
@@ -13,8 +13,7 @@
{% endcomment %}
{% if field.errors %}
<tr>
- <td> </td>
- <td colspan="2" class="formfielderror">
+ <td colspan="3" class="formfielderror">
{{ field.errors|join:"<br />" }}
</td>
</tr>