Have user/edit.html use the as_table tag as well
authorSverre Rabbelier <srabbelier@gmail.com>
Sun, 14 Dec 2008 00:51:03 +0000
changeset 743 e6ab5b0c2fda
parent 742 3e34b45cafcc
child 744 cd9bf163473c
Have user/edit.html use the as_table tag as well Patch by: Sverre Rabbelier
app/soc/templates/soc/user/edit.html
--- a/app/soc/templates/soc/user/edit.html	Sun Dec 14 00:50:49 2008 +0000
+++ b/app/soc/templates/soc/user/edit.html	Sun Dec 14 00:51:03 2008 +0000
@@ -12,6 +12,7 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 {% endcomment %}
+{% load forms_helpers %}
 
 {% block scripts %}
 	<script type="text/javascript" src="/tiny_mce/tiny_mce_src.js"></script>
@@ -34,7 +35,7 @@
 </p>
 <form method="POST">
  <table>
-  {{ form.as_table }}
+  {% as_table form %}
   {% if entity.former_accounts %}
   <tr>
    <td class="formfieldlabel">Former Accounts:</td>