changeset 2339:60c3cba1aad4

Added help section in the tabs in the modify view
author sharky93 <rishabhr123@gmail.com>
date Tue, 23 Jul 2013 21:30:47 +0530
parents a6c3df154d27
children 5343c240b652
files MoinMoin/themes/basic/templates/modify.html
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/modify.html	Tue Jul 23 20:52:14 2013 +0530
+++ b/MoinMoin/themes/basic/templates/modify.html	Tue Jul 23 21:30:47 2013 +0530
@@ -25,13 +25,11 @@
             <li class="active"><a href="#editor" data-toggle="tab">Edit</a></li>
             <li><a href="#gmeta" data-toggle="tab">General Meta</a></li>
             <li><a href="#emeta" data-toggle="tab">Extra Meta</a></li>
+            <li><a href="#help" data-toggle="tab">Help</a></li>
         </ul>    
         <div class="tab-content">
             <div class="tab-pane active" id="editor">
                 {{ data_editor(form['content_form'], item_name, class='input-block-level') }}
-                {% if form['content_form'].help %}
-                    <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>
-                {% endif %}
             </div>
             <div class="tab-pane" id="gmeta">
                 {{ basic_meta_editor(form['meta_form']) }}
@@ -39,6 +37,11 @@
             <div class="tab-pane" id="emeta">
                 {{ forms.render(form['extra_meta_text'], class='span6') }}
             </div>
+            <div class="tab-pane" id="help">
+                {% if form['content_form'].help %}
+                    <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>
+                {% endif %}
+            </div>
         </div>
     </div> <!-- left tabbable -->
     {#