{% extends 'USBackendBundle::layout.html.twig' %} {% block content_class 'content backend user edit' %} {% block content -%} {{ form_start(edit_form, {'attr' : {'class' : 'form-horizontal validateActivitiesForm'}}) }}
ID {{app.user.id}}
{#Nombre y apellidos#}
{{ form_label(edit_form.firstname, 'Nombre', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.firstname, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.lastname, 'Apellidos', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.lastname, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.gender, 'Género', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.gender, {'attr' : {'class' : 'field'} }) }}
{#Email y teléfono#}
{{ form_label(edit_form.email, 'Email', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.email, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.phone, 'Teléfono', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.phone, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.direction, 'Dirección', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.direction, {'attr' : {'class' : 'field'} }) }}
{#Departamento y dirección#}
{{ form_label(edit_form.department, 'Departamento', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.department, {'attr' : {'class' : 'field'} }) }}
{#Fecha de nacimiento#}
{{ form_label(edit_form.dateOfBirth, 'Fecha de nacimiento', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.dateOfBirth, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.roles, 'Roles', {'label_attr' : {'class' : 'title'}}) }} {{ form_widget(edit_form.roles, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.hostType, 'Tipo de acogido', {'label_attr' : {'class' : 'title required'}}) }} {{ form_widget(edit_form.hostType, {'attr' : {'class' : 'field'} }) }}
{{ form_label(edit_form.responsibleType, 'Tipo de responsable', {'label_attr' : {'class' : 'title required'}}) }} {{ form_widget(edit_form.responsibleType, {'attr' : {'class' : 'field'} }) }}
Cancelar
{{ form_widget(edit_form.submit) }}
{{ form_rest(edit_form) }}
{% endblock %} {% block bottom_scripts %} {{ parent() }} {% javascripts 'bundles/usbackend/js/js-webshim/minified/modernizr-custom.js' %} {% endjavascripts %} {% endblock %}