diff MoinMoin/themes/basic/templates/modify.html @ 2495:b0e5881e515e

adds basic ui for acl setting
author sharky93 <rishabhr123@gmail.com>
date Tue, 17 Sep 2013 21:55:55 +0530
parents 76098dbcb43c
children 96f95afaf6f8
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/modify.html	Sun Sep 15 23:57:57 2013 +0530
+++ b/MoinMoin/themes/basic/templates/modify.html	Tue Sep 17 21:55:55 2013 +0530
@@ -26,6 +26,7 @@
     <ul class="moin-nav nav-tabs moin-shadow">
         <li class="active"><a href="#editor" data-toggle="tab">Edit Content</a></li>
         <li><a href="#meta" data-toggle="tab">Edit Meta</a></li>
+        <li><a href="#acl" data-toggle="tab">Edit ACL</a></li>
         <li><a href="#help" data-toggle="tab">Help</a></li>
     </ul>    
     <div class="tab-content">
@@ -46,6 +47,17 @@
                 </div>
             </div>
         </div>
+        <div class="tab-pane active" id="acl">
+            <div class="row">
+                {% set field = form['meta_form']['acl'] %}
+                <div class="col-lg-6">
+                    <div class="form-group">
+                        {{ gen.label(field) }}
+                        {{ gen.textarea(field, rows='1', class='form-control') }}
+                    </div>
+                </div>
+            </div>
+        </div>
         <div class="tab-pane active" id="help">
             {% if form['content_form'].help %}
                 <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>