Skip to content

Instantly share code, notes, and snippets.

#index:
# path: /
# controller: App\Controller\DefaultController::index
logout:
path: /logout
<div class="page-wrapper">
{% if app.flashes %}
<div class="container">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<?php
namespace App\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use App\Form\Type\FormuleChoiceType;