summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-09-17 03:12:26 +0200
committerDusty Phillips <buchuki@gmail.com>2008-09-17 03:12:26 +0200
commit851e6d55be41b1053d5fdb7326aa0846638992fc (patch)
treecf3c2250064395ec39e659f669b2c5c34a9a01c7 /templates/devel
parent765c6c0cd08973f6cebb007aeff38e82c84e058d (diff)
downloadarchweb-851e6d55be41b1053d5fdb7326aa0846638992fc.tar.gz
archweb-851e6d55be41b1053d5fdb7326aa0846638992fc.tar.xz
port profile_form to newforms
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/profile.html19
1 files changed, 4 insertions, 15 deletions
diff --git a/templates/devel/profile.html b/templates/devel/profile.html
index 6083735..5b5a586 100644
--- a/templates/devel/profile.html
+++ b/templates/devel/profile.html
@@ -1,27 +1,16 @@
-{% load validation %}
{% extends "base.html" %}
{% block content %}
<div class="greybox">
<h2 class="title">Developer Profile</h2>
- {% if errors %}
- {% print_errors errors %}
- {% endif %}
<form method="post" action=".">
<table>
<tr>
- <td>Username:</td>
+ <th>Username:</th>
<td><strong>{{ user.username }}</strong></td>
- </tr><tr>
- <td>Email Address:</td>
- <td><input type="text" name="email" value="{{ user.email }}" size="30"></td>
- </tr><tr>
- <td>New Password:</td>
- <td><input type="password" name="passwd" size="30"></td>
- </tr><tr>
- <td>Confirm Password:</td>
- <td><input type="password" name="passwd2" size="30"></td>
- </tr><tr>
+ </tr>
+ {{form}}
+ <tr>
<td colspan="2" align="right">
<input type="submit" value=" Save ">
</td>