Give error messages more room in the existing form field "as_table" templates.
authorTodd Larsen <tlarsen@google.com>
Wed, 21 Jan 2009 02:18:07 +0000
changeset 861 f7b5838094d0
parent 860 cfb57fe35d3c
child 862 fac7cb803aaf
Give error messages more room in the existing form field "as_table" templates. Patch by: Todd Larsen Review by: to-be-reviewed
app/soc/templates/soc/templatetags/_as_table_row.html
app/soc/templates/soc/templatetags/_field_as_table_row.html
--- 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>&nbsp;</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>&nbsp;</td>
- <td colspan="2" class="formfielderror">
+ <td colspan="3" class="formfielderror">
   {{ field.errors|join:"<br />" }}
  </td>
 </tr>