{% extends 'USBackendBundle::layout.html.twig' %} {% block content_class "content backend notification new" %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal', 'id':'us_backend_notification'}}) }}
Nueva notificación
{{ form_label(form.subject, 'Tema', {'label_attr' : {'class' : 'title' }}) }} {{ form_widget(form.subject, {'attr' : {'class' : 'field' ,'placeholder':'máximo 30 caracteres'} }) }}
{{ form_label(form.sendDate, 'Fecha de envío', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.sendDate, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.roles, 'Roles', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.roles, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.user, 'Usuario', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.user, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.body, 'Body', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.body, {'attr' : {'class' : 'field'} }) }}
Cancelar
{{ form_widget(form.submit) }}
{{ form_rest(form) }}
{{ form_end(form) }} {% endblock %} {% block bottom_scripts %} {{ parent() }} {% javascripts 'bundles/usbackend/js/js-webshim/minified/modernizr-custom.js' %} {% endjavascripts %} {% endblock %}