diff --git a/templates/account/settings.html.tera b/templates/account/settings.html.tera index 68b78b8..08921c2 100644 --- a/templates/account/settings.html.tera +++ b/templates/account/settings.html.tera @@ -1,14 +1,29 @@ {% extends "base" %} +{% import "macros/form" as form %} {% block title %}Settings - {% endblock title %} {% block main %}

Your settings

- + + {% if prev_common.form_errors | length > 0 %} +
+

Some errors were encountered...

+ +
    + {% for err in prev_common.form_errors %} +
  • {{err}}
  • + {% endfor %} +
+
+ {% endif %} +

- + + {{form::error(ctx=prev_common, name="username")}}

Reminder: your username is your login ID. If you change it, don't forget to use the new one to log in. @@ -17,7 +32,9 @@

- + + {{form::error(ctx=prev_common, name="email")}}
@@ -26,18 +43,23 @@
-

- + + {{form::error(ctx=prev_password, name="old_password")}}

- + + {{form::error(ctx=prev_password, name="password")}}

- + + {{form::error(ctx=prev_password, name="confirm_password")}}
@@ -64,4 +86,5 @@

This is not a recoverable operation.

Delete my account + {% endblock main %} \ No newline at end of file