{% 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 simpletimeline new" %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal'}}) }}
Nueva timeline
{#Título#}
{{ form_label(form.title, 'Título', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.title, {'attr' : {'class' : 'field'} }) }}
{#Descripción#}
{{ form_label(form.description, 'Descripción', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.description, {'attr' : {'class' : 'field'} }) }}
{#Acogido, responsable y mentor#}
{{ form_label(form.user, 'User', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.user, {'attr' : {'class' : 'field'} }) }}
{#Acogido, responsable y mentor#}
{#Activo y layout#}
{{ form_widget(form.isLayout) }} {{ form_label(form.isLayout, 'Es una plantilla?') }}
{#Submit#}
Cancelar
{{ form_widget(form.submit) }}
{{ form_rest(form) }}
{% endblock %} {% block bottom_scripts %} {{parent()}} {#librerias para que funcione el input date html5 en firefox todo: cargar solo para los navegadores que no lo soportan #} {% 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' 'bundles/usbackend/js/js-webshim/minified/modernizr-custom.js' %} {% endjavascripts %} {% endblock %}