{% 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 user new' %} {% block content -%} {{ form_start(form, {'attr' : {'class' : 'form-horizontal validateActivitiesForm'}}) }}
ID {{app.user.id}}
{#Nombre y apellidos#}
{{ form_label(form.firstname, 'Nombre', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.firstname, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.lastname, 'Apellidos', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.lastname, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.gender, 'Género', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.gender, {'attr' : {'class' : 'field'} }) }}
{#Email y teléfono#}
{{ form_label(form.email, 'Email', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.email, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.phone, 'Teléfono', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.phone, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.password, 'Password', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.password, {'attr' : {'class' : 'field'} }) }}
{#Departamento y dirección#}
{{ form_label(form.direction, 'Dirección', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.direction, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.department, 'Departamento', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.department, {'attr' : {'class' : 'field'} }) }}
{#Fecha de nacimiento#}
{{ form_label(form.dateOfBirth, 'Fecha de nacimiento', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.dateOfBirth, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.roles, 'Roles', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(form.roles, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.hostType, 'Tipo de acogido', {'label_attr' : {'class' : 'title required'}}) }} {{ form_widget(form.hostType, {'attr' : {'class' : 'field'} }) }}
{{ form_label(form.responsibleType, 'Tipo de responsable', {'label_attr' : {'class' : 'title required'}}) }} {{ form_widget(form.responsibleType, {'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 %}