{% extends 'Backend/_layout.html.twig' %} {% block page_title %}

Test édition d'une test

{% endblock %} {% block content %} {{ form_start(edit_form, {'attr' : { 'class' : 'form-horizontal' }}) }}
Edition
{#
#}
{{ form_label(edit_form.visible, null, {'label': 'Visible', 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{% for visible in edit_form.visible %} {% endfor %}
{{ form_label(edit_form.status, null, {'label': 'Status', 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{% for status in edit_form.status %} {% endfor %}
{{ form_label(edit_form.idSurvey, null, {'label': 'internal_id' |trans({}, 'bo_formlabel'), 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.idSurvey, {'attr': {'class': 'form-control', 'placeholder' : 'ID Interne'}}) }}
{{ form_label(edit_form.name, null, {'label': 'name' |trans({}, 'bo_formlabel'), 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.name, {'attr': {'class': 'form-control', 'placeholder' : 'Nom'}}) }}
{{ form_label(edit_form.type, null, {'label': 'Type', 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.type, {'attr': {'class': 'form-control', 'placeholder' : 'Type'}}) }}
{{ form_label(edit_form.category, null, {'label': 'category' |trans({}, 'bo_formlabel'), 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.category, {'attr': {'class': 'form-control', 'placeholder' : 'Catégorie'}}) }}
{{ form_label(edit_form.panelisteGroup, null, {'label': 'access_group' |trans({}, 'bo_formlabel'), 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.panelisteGroup, {'attr': {'class': 'form-control', 'placeholder' : 'Groupe d\'accès'}}) }}
{{ form_label(edit_form.imageFile, null, {'label': 'Pdf' |trans({}, 'bo_formlabel'), 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.imageFile, {'attr': {'class': 'form-control', 'placeholder' : 'Pdf'}}) }}
{{ form_label(edit_form.description, null, {'label': 'Description', 'label_attr': {'class': 'col-md-2 control-label'}}) }}
{{ form_widget(edit_form.description, {'attr': {'class': 'form-control', 'placeholder' : 'Description'}}) }}
Questionnaires
{% if surveyType == 0 %} Retour {% elseif surveyType == 1 %} Retour {% elseif surveyType == 2 %} Retour {% endif %}
{{ form_end(edit_form) }} {{ form(delete_form, {'attr': {'id': 'delete-form'}}) }} {% endblock %} {% block javascript %} {% endblock %}