diff MoinMoin/templates/modify.html @ 1773:7841aa4065a7

macro data_editor needs item_name as parameter so we can use it in all kind of contentypes
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 04 Sep 2012 20:59:09 +0200
parents 6a788472c293
children 90eb2ea82c32
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Tue Sep 04 20:30:23 2012 +0200
+++ b/MoinMoin/templates/modify.html	Tue Sep 04 20:59:09 2012 +0200
@@ -49,7 +49,7 @@
             {{ forms.render(form['comment']) }}
         </dl>
     {% endif %}
-    {{ data_editor(form['content_form']) }}
+    {{ data_editor(form['content_form'], item_name) }}
     {% if form['content_form'].help %}
         <pre id="moin-editor-help">{{ form['content_form'].help }}</pre>
     {% endif %}