Source

moin-2.0 / MoinMoin / templates / modify_text.html

Full commit
{% extends "modify_binary.html" %}
{% import "utils.html" as utils %}

{% set subitems = theme_supp.subitem_index(item_name) %}
{% block subitem_navigation %}
    {% if subitems %}
        {% call(fullname, shortname, contenttype, has_children) utils.render_subitem_navigation(subitems) %}
            {% set shortname = shortname|js_string_escape %}
            {% set fullname = fullname|js_string_escape %}
            <button class="link-action" onclick="linkSubitem('{{ shortname }}', '{{ fullname }}')"
                title="{{ _('Link to Subitem') }}">{{ _('Link') }}</button>
            <button class="transclude-action" onclick="transcludeSubitem('{{ shortname }}', '{{ fullname }}')"
                title="{{ _('Transclude Subitem') }}">{{ _('Transclude') }}</button>
        {% endcall %}
    {% endif %}
{% endblock %}

{% block data_editor %}
{{ gen.textarea(form['data_text'], lang=lang, dir=direction, rows=rows_data, cols=cols) }}
<br />
{% endblock %}