{% from "modify_binary.html" import data_editor as base_editor with context %}

{% macro basic_data_editor(form, item_name) %}
    <input type="button" id="moin-toggle-fixed-font-button" value="{{ _('Toggle font width') }}" class="moin-button moin-textarea-font" >
    {{ gen.textarea(form['data_text'], rows=form.rows|string, cols=form.cols|string, class="moin-edit-content", **kwargs) }}
    {{ base_editor(form) }}
    <br>
{% endmacro %}
