diff MoinMoin/themes/basic/templates/modify.html @ 2879:cfdec0c11e3d

fix #88 add editor help based upon the content type of the target item
author RogerHaase <haaserd@gmail.com>
date Wed, 14 Jan 2015 21:32:03 -0700
parents 5a49eeb1f307
children 86df79fae350 b99ff90c7fac
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/modify.html	Wed Jan 14 08:22:13 2015 -0700
+++ b/MoinMoin/themes/basic/templates/modify.html	Wed Jan 14 21:32:03 2015 -0700
@@ -76,10 +76,9 @@
                 {% else %}
                     {{ gen.input(field, type='hidden', class='form-control') }}
                 {% endif %}
+
                 <div class="tab-pane active" id="help">
-                    {% if form['content_form'].help %}
-                        <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>
-                    {% endif %}
+                    {{ utils.help_on_editing(help) }}
                 </div>
             </div>
             {#