{% set form_id = form_id ? form_id : 'page-move' %}
{% set scope = scope ?: 'data.' %}
{% set field_layout = 'admin' %}

<form id="{{ form_id }}" method="post" data-grav-form="{{ form_id }}" data-page-move>
    <h1>Move</h1>
    <div class="grav-loading"><div class="grav-loader">Loading...</div></div>
    <div class="parents-content"></div>

    {% embed 'forms/default/fields.html.twig' with {name: null, fields: blueprints.fields} %}
        {% block inner_markup_field_open %}<div class="block block-{{ field.type }}">{% endblock %}
        {% block inner_markup_field_close %}</div>{% endblock %}
    {% endembed %}

    {{ nonce_field('admin-form', 'admin-nonce')|raw }}

    <div class="button-bar">
        <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|t }}</button>
        <button class="button primary" name="task" value="save" form="blueprints">{{ "PLUGIN_ADMIN.CONTINUE"|t }}</button>
    </div>
</form>
