{% extends 'USBackendBundle::layout.html.twig' %} {% block content_class "content backend activity game new" %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal'}}) }}
{{'backend.add.game'|trans({},"USBackendBundle")}}
{{ form_label(form.title, 'Título', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.title, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.sourceFile, 'Juego', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.sourceFile, {'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' : ''}}) }}
{{ form_widget(form.submit) }}
{{ form_rest(form) }}
{% endblock %} {% block bottom_scripts %} {{parent()}} {% endblock %}