diff MoinMoin/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 dde7055f4361
children 86df79fae350
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Wed Jan 14 08:22:13 2015 -0700
+++ b/MoinMoin/templates/modify.html	Wed Jan 14 21:32:03 2015 -0700
@@ -46,9 +46,7 @@
                 </dl>
             {% endif %}
             {{ data_editor(form['content_form'], item_name) }}
-            {% if form['content_form'].help %}
-                <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>
-            {% endif %}
+            {{ utils.help_on_editing(help) }}
             {% set may_admin = user.may.admin(fqname) %}
             {{ meta_editor(form['meta_form'], may_admin) }}
             <dl>