ajaxInsertForm.html.twig 1.54 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<div class="modal fade form-offre-legume-insert-modal" tabindex="-1" role="dialog" aria-labelledby="FormOffreLegumesInsertModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">

            <div class="modal-header">
                <h2 class="modal-title" id="form-offre-legume-insert"></h2>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            {{ form_start(formOffreLegumesInsert) }}
            <div class="modal-body">
            {{ form_errors(formOffreLegumesInsert) }}

                <div class="form-group row">
                    <div class="col-sm-4">
                        {{ form_label(formOffreLegumesInsert.offre) }}
                    </div>
                    <div class="col-sm-8">
                        {{ form_widget(formOffreLegumesInsert.offre) }}
                        {{ form_errors(formOffreLegumesInsert.offre) }}
                    </div>
                </div>


            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-secondary mb-2" data-dismiss="modal">Fermer</button>
                {{ form_label(formOffreLegumesInsert.sauver) }}
                {{ form_widget(formOffreLegumesInsert.sauver) }}
            </div>

            {{ form_rest(formOffreLegumesInsert) }}
            {{ form_end(formOffreLegumesInsert) }}

        </div>
    </div>
</div>