{#
    Partial form loaded trough AJAX in MetaTagCollection:form
    is used to add a new set

    @author Elze Kool <info@visualmedia.nl>
#}
<div data-form-name="{{ form.metaTags.vars.full_name }}">
    {% import 'VisualMTagManagerBundle:ManageMetaTag:form.html.twig' as _meta_tag_form %}
    <div class="meta-tag-set" data-meta-tag-set-id="{{ meta_tag_set.id }}">
        <button data-confirm="{{ 'meta_tag_collection.meta_tag_set_verwijder.confirm'|trans({}, 'forms') }}" type="button" class="btn btn-sm btn-danger js-meta-tag-set-del pull-left"><i class="glyphicon glyphicon-minus-sign"></i></button>
        <h3>{{ meta_tag_set.naam }}</h3>
        <div class="row">
            {% for meta_tag_form in form.metaTags %}
                <div class="col-sm-12">
                    {{ _meta_tag_form.meta_tag_widget(meta_tag_form) }}
                </div>
            {% endfor %}
            {% do form.metaTags.setRendered %}
        </div>
    </div>
</div>