{% extends 'USBackendBundle::layout.html.twig' %} {% block content_class "content backend activity survey new" %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal'}}) }}
{{'survey'==class?'backend.add.survey'|trans({},"USBackendBundle")}} {{'test'==class?'backend.add.test'|trans({},"USBackendBundle")}} {{'form'==class?'backend.add.form'|trans({},"USBackendBundle")}} {{'tasklist'==class?'backend.add.tasklist'|trans({},"USBackendBundle")}} {{'satisfaction_survey'==class?'backend.add.satisfactionsurvey'|trans({},"USBackendBundle")}}
{{ form_label(form.title, 'Título', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.title, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.description, 'Descripción', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.description, {'attr' : {'class' : 'field'} }) }}
{{ form_widget(form.picture, {'attr' : {'class' : 'field select_image_button_false'} }) }}
{{ form_widget(form.isLayout, {'attr' : {'class' : ''} }) }} {{ form_label(form.isLayout, 'Es una plantilla?', {'label_attr' : {'class' : ''}}) }}
Cancelar
{{ form_widget(form.submit) }}
{{ form_rest(form) }}
{{ form_end(form) }} {% endblock %} {% block bottom_scripts %} {{parent()}} {% endblock %}