diff options
author | Johan Lundberg <lundberg@nordu.net> | 2011-05-17 16:02:13 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2011-05-17 16:02:13 +0200 |
commit | 633e5f80cd208aea314b98355f258c23944b13fd (patch) | |
tree | 4b3a8796189f4d6baad3a115665bcc96cc0ae5ed /templates/changepw/change_other.html | |
parent | adebcb2dc599222db1288fde3c359d26a8802076 (diff) |
Template change.
Diffstat (limited to 'templates/changepw/change_other.html')
-rw-r--r-- | templates/changepw/change_other.html | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/templates/changepw/change_other.html b/templates/changepw/change_other.html index 67e5554..5506941 100644 --- a/templates/changepw/change_other.html +++ b/templates/changepw/change_other.html @@ -18,19 +18,22 @@ <th class="formlabel">{{ field.label_tag }}:</th> </tr> <tr> - <td class="formfield">{{ field }}</td><td><input type="submit" value="Submit" /></td> + <td class="formfield">{{ field }}</td> + </tr> + <tr> + <input type="submit" value="Submit" /> </tr> {% endfor %} </table> </form> -{% endif %} +{% else %} {% if return_value == 0 %} - <p>Changed successfully.</p> - {% else %} - <p>Something went wrong. Please contact an administrator.</p> - <p>Return code: {{ return_value }}</p> + <p>Changed successfully.</p> + {% else %} + <p>Something went wrong. Please contact an administrator.</p> + <p>Return code: {{ return_value }}</p> + {% endif %} {% endif %} - <p> <a href="{% url index %}">Back</a><br /> <a href="{% url logout %}">Log out</a> |