{% extends 'USBackendBundle::layout.html.twig' %} {% block content_class "content backend activity game edit" %} {% block stylesheets %} {{parent()}} {% endblock %} {% block top_scripts %} {% endblock %} {% block content -%} {{ form_start(edit_form, {'attr' : {'class' : 'form-horizontal'}}) }}
{{'backend.edit.game'|trans({},"USBackendBundle")}}
{{ form_label(edit_form.title, 'Título', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.title, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.sourceFile, 'Juego', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.sourceFile, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.description, 'Descripción', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.description, {'attr' : {'class' : 'field'} }) }}
{{ form_widget(edit_form.picture, {'attr' : {'class' : 'field select_image_button_false'} }) }}
{{ form_widget(edit_form.isLayout, {'attr' : {'class' : ''} }) }} {{ form_label(edit_form.isLayout, 'Es una plantilla?', {'label_attr' : {'class' : ''}}) }}
{{ form_widget(edit_form.submit) }}
{{ form_rest(edit_form) }}
{% endblock %} {% block bottom_scripts %} {{parent()}} {% endblock %}