{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #}

{{ "title_user_account" | trans({}, 'SonataUserBundle')}} - {{ "title_user_edit_profile" | trans({}, 'SonataUserBundle')}}

{{ form_errors(form) }} {% form_theme form _self %} {% block field_row %} {# custom field row output #} {% endblock field_row %}
{{ form_label(form.gender, 'label_profile_gender', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.gender) }}
{{ form_label(form.firstname, 'label_profile_firstname', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.firstname) }}
{{ form_label(form.lastname, 'label_profile_lastname', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.lastname) }}
{{ form_label(form.website , 'label_profile_website', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.website) }}
{{ form_label(form.dateOfBirth, 'label_profile_dob', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.dateOfBirth, {'attr': {'class': 'span1'}}) }}
{{ form_label(form.biography, 'label_profile_biography', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.biography) }}
{{ form_label(form.locale, 'label_profile_locale', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.locale) }}
{{ form_label(form.timezone, 'label_profile_timezone', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.timezone) }}
{{ form_label(form.phone, 'label_profile_phone', {'attr': {'class': 'control-label'}}) }}
{{ form_widget(form.phone) }}
{{ form_rest(form) }}