summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/changepw/change_other.html17
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>