{% extends 'USBackendBundle::layout.html.twig' %} {% block stylesheets %} {{parent()}} {% stylesheets filter='cssrewrite' 'bundles/usbackend/js/jquery-simple-combobox/css/jquery.scombobox.css' %} {% endstylesheets %} {% endblock %} {% block content_class "content backend drive new" %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal'}}) }}
Nuevo drive
{{ form_label(form.title, 'Título', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.title, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.alias, 'Alias', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.alias, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.file, 'Fichero', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.file, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.description, 'Descripción', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.description, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.phase, 'Fase', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.phase, {'attr' : {'class' : 'field'} }) }}
Cancelar
{{ form_widget(form.submit) }}
{{ form_rest(form) }}
{{ form_end(form) }} {#
Back to the list
#} {% endblock %} {% block bottom_scripts %} {{parent()}} {% javascripts 'bundles/usbackend/js/jquery-simple-combobox/js/missed.js' 'bundles/usbackend/js/jquery-simple-combobox/js/jquery.scombobox.min.js' 'bundles/usbackend/js/jquery-simple-combobox/js/jquery.easing.min.js' %} {% endjavascripts %} {% endblock %}