{% extends 'base.html.twig' %}

{% block body %}
    <div class="row">
        <div class="col-md-6">
            {#{{ form(form) }}#}
            {{ form_start(form) }}
            {{ form_widget(form) }}
            <div class="form-group">
                <div class="col-sm-2"></div>
                <div class="col-sm-10">
                    <button type="submit"class="btn-success btn">
                        Créer
                    </button>
                </div>
            </div>
            {{ form_end(form) }}
        </div>

        <div class="col-md-12">
            <a href="{{ path('list') }}" class="btn btn-default">Retour</a>
        </div>
    </div>
{% endblock body %}