{% extends 'form/form.jinja' %}

{% block fields %}
    <span>Current action: {{ content.editor_action }}</span>

    {% if 'plot_kind' in content.fields %}
        {{ content.fields['plot_kind'].render() }}
    {% endif %}
    <div class="dataeditor-plot">
        {# content.dataset.plot() #}
        FNORD
        {% if content.plot %}
            {{ content.plot.render('raw') }}
        {% endif %}
        FNORD
    </div>

    {{ content.render_fields() }}
{% endblock %}
