{% extends 'AdminBundle::layout.html.twig' %}
{% block body %}
    <h3>Le studio</h3>
    {% for studio in forms %}
        <form action="{{ path('admin_studio_save', {id:studio.id}) }}" method="post">
            <div class="row">
                <div class="col-lg-10 col-md-10 col-sm-20 col-xs-20">
                    {{ form_label(studio.form.language) }}
                    {{ form_widget(studio.form.language) }}
                </div>
            </div>
            <br/>
            <div class="row">
                <div class="col-lg-20 col-md-20 col-sm-20 col-xs-20">
                    {{ form_label(studio.form.video) }}
                    {{ form_widget(studio.form.video) }}
                </div>
            </div>
            <br/>
            <div class="row">
                <div class="col-lg-20 col-md-20 col-sm-20 col-xs-20">
                    {{ form_label(studio.form.content) }}
                    {{ form_widget(studio.form.content, {'id': 'studio'~studio.id, 'attr':{'class':'contact_message tinymce'}}) }}
                </div>
            </div>
            {{ form_row(studio.form._token) }}
            <br/>
            <button type="submit" class="btn btn-info">Enregistrer</button>
        </form>
        <br/><br/>
    {% endfor %}
{% endblock %}
{% block javascripts %}
    {{ tinymce_init() }}
{% endblock %}