changeset 2428:92cba628eec8

adds template for ajax submit of user setting forms
author sharky93 <rishabhr123@gmail.com>
date Wed, 28 Aug 2013 00:00:56 +0530
parents 6c1abbadf502
children 892610571627
files MoinMoin/themes/basic/templates/usersettings_ajax.html
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/themes/basic/templates/usersettings_ajax.html	Wed Aug 28 00:00:56 2013 +0530
@@ -0,0 +1,15 @@
+{% import theme("usersettings_forms.html") as user_forms %}
+
+{% if part == 'personal' %}
+    {{ user_forms.personal(form) }}
+{% elif part == 'password' %}
+    {{ user_forms.password(form) }}
+{% elif part == 'notification' %}
+    {{ user_forms.notification(form) }}
+{% elif part == 'ui' %}
+    {{ user_forms.ui(form) }}
+{% elif part == 'navigation' %}
+    {{ user_forms.navigation(form) }}
+{% elif part == 'options' %}
+    {{ user_forms.options(form) }}
+{% endif %}