1. NikitaUtiu
  2. moin-2.0

Source

moin-2.0 / MoinMoin / templates / modify_text.html

{% 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) %}
            <button class="link-action" onclick="linkSubitem('{{ shortname|js_string_escape }}', '{{ fullname|js_string_escape }}')" title="{{ _('Link to Subitem') }}" value="{{ _('Link to Subitem') }}" /></button>
            <button class="transclude-action" onclick="transcludeSubitem('{{ shortname|js_string_escape }}', '{{ fullname|js_string_escape }}')" title="{{ _('Transclude Subitem') }}" value="{{ _('Transclude') }}"></button>
        {% endcall %}
    {% endif %}
{% endblock %}

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