Source

moin-2.0 / MoinMoin / templates / usersettings_forms.html

Diff from to

File MoinMoin/templates/usersettings_forms.html

 {{ forms.render_button(_("Save")) }}
 {{ gen.form.close() }}
 {% endmacro %}
+
+{# javascript functions within common.js are dependent upon the structure, classes and ids defined here #}
+{% macro all_usersettings_forms(form_objs) %}
+<div id="moin-usersettings">
+    <div id="personal" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#personal">{{ _("Personal Settings") }}</a></h2>
+        {{ personal(form_objs.personal) }}
+    </div>
+    <div id="password" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#password">{{ _("Change Password") }}</a></h2>
+        {{ password(form_objs.password) }}
+    </div>
+    <div id="notification" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#notification">{{ _("Notification Settings") }}</a></h2>
+        {{ notification(form_objs.notification) }}
+    </div>
+    <div id="ui" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#ui">{{ _("Wiki Appearance Settings") }}</a></h2>
+        {{ ui(form_objs.ui) }}
+    </div>
+    <div id="navigation" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#navigation">{{ _("Navigation Settings") }}</a></h2>
+        {{ navigation(form_objs.navigation) }}
+    </div>
+    <div id="options" class="moin-tab-body moin-form">
+        <h2 class="moin-settings-head"><a href="#options">{{ _("Options") }}</a></h2>
+        {{ options(form_objs.options) }}
+    </div>
+</div>
+{% endmacro %}