{# /templates/main/index.html.twig #} {% extends 'layouts/dashboard_index.html.twig' %} {% block title %}Tableau de bord principal {% endblock %} {% set dashboard_title = 'Tableau de bord principal' %} {% block dashboard_content %}
Gérer les catégories
{{ form_start(form) }}
{{ form_errors(form) }}
{{ form_label(form.category, null, { 'label': 'Choisir la catégorie', 'label_attr': {'class': 'mt-4'} }) }} {{ form_errors(form.category) }} {{ form_widget(form.category) }} {{ form_label(form.faq, null, { 'label': 'Choisir la FAQ', 'label_attr': {'class': 'mt-4'} }) }} {{ form_errors(form.faq) }} {{ form_widget(form.faq) }}
{{ form_widget(form.edit, { 'label': 'Éditer la FAQ', 'attr': { 'class': 'btn btn-primary btn-responsive' } }) }}
{{ form_widget(form.run, { 'label': 'Exécuter la FAQ', 'attr': {'class': 'btn-primary mt-4'} }) }}
{{ form_end(form) }} {% endblock %}