diff options
Diffstat (limited to 'patchwork/templates/patchwork/registration.html')
-rw-r--r-- | patchwork/templates/patchwork/registration.html | 81 |
1 files changed, 2 insertions, 79 deletions
diff --git a/patchwork/templates/patchwork/registration.html b/patchwork/templates/patchwork/registration.html index 5280b66..6cdbc5a 100644 --- a/patchwork/templates/patchwork/registration.html +++ b/patchwork/templates/patchwork/registration.html @@ -27,86 +27,9 @@ <tr> <td colspan="2">{{ error }}</td> </tr> - {% endif %} + {% endif %} - <tr> - <td>{{ form.first_name.label_tag }}</td> - <td> -{% if form.first_name.errors %} - {{ form.first_name.errors }} -{% endif %} - {{ form.first_name }} -{% if form.first_name.help_text %} - <div class="help_text"/>{{ form.first_name.help_text }}</div> -{% endif %} - </td> - </tr> - - <tr> - <td>{{ form.last_name.label_tag }}</td> - <td> -{% if form.last_name.errors %} - {{ form.last_name.errors }} -{% endif %} - {{ form.last_name }} -{% if form.last_name.help_text %} - <div class="help_text"/>{{ form.last_name.help_text }}</div> -{% endif %} - </td> - </tr> - - <tr> - <td></td> - <td class="form-help"> - Your name is used to identify you on the site - </td> - </tr> - - <tr> - <td>{{ form.email.label_tag }}</td> - <td> -{% if form.email.errors %} - {{ form.email.errors }} -{% endif %} - {{ form.email }} -{% if form.email.help_text %} - <div class="help_text"/>{{ form.email.help_text }}</div> -{% endif %} - </td> - </tr> - - <tr> - <td></td> - <td class="form-help"> - Patchwork will send a confirmation email to this address - </td> - </tr> - - <tr> - <td>{{ form.username.label_tag }}</td> - <td> -{% if form.username.errors %} - {{ form.username.errors }} -{% endif %} - {{ form.username }} -{% if form.username.help_text %} - <div class="help_text"/>{{ form.username.help_text }}</div> -{% endif %} - </td> - </tr> - - <tr> - <td>{{ form.password.label_tag }}</td> - <td> -{% if form.password.errors %} - {{ form.password.errors }} -{% endif %} - {{ form.password }} -{% if form.password.help_text %} - <div class="help_text"/>{{ form.password.help_text }}</div> -{% endif %} - </td> - </tr> + {{ form.as_table }} <tr> <td colspan="2" class="submitrow"> |