view MoinMoin/templates/modify_svg-edit.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 c32ff2e07e7a
children 31628ac3ec21
line wrap: on
line source
{% macro data_editor(form, item_name) %}
<p>
<object data="{{ url_for('serve.files', name='svgedit_moin', filename='editor/svg-editor.html') }}?paramurl={{ url_for('frontend.get_item', item_name=item_name, member='drawing.svg') }}" width="100%" height="600">
</object>
</p>
<br />
{% endmacro %}