{{ form_start(form,{'attr': {'id': 'update_profile'}}) }}
{{ form_row(form.firstName) }}
{{ form_row(form.lastName) }}
{{ form_row(form.email) }}
{{ form_row(form.username) }}
{{ form_row(form.profile_image_path) }}
{{ form_row(form.mobileno) }}
{{ form_row(form.address) }}
{{ form_row(form.birthday) }}
{{ form_row(form.country) }}
{{ form_row(form.state) }}
{{ form_row(form.city) }}
{{ form_row(form.postal_code) }}
{% if form.password is defined %}
{{ form_widget(form.password.first, {'attr': {'class': 'form-control', 'placeholder': '•••••••••••'}}) }}
{{ form_errors(form.password) }} {# Display errors for the first password field #}
{{ form_widget(form.password.second, {'attr': {'class': 'form-control', 'placeholder': '•••••••••••', 'id': 'confirm-password-input'}}) }}
{% endif %}
{{ form_row(form.company_name) }}
{% if is_granted('ROLE_ADMINISTRATOR') and form.userRoles is defined %}
{{ form_row(form.userRoles) }}
{% endif %}
{{ form_row(form.enforcedTotp) }}
{{ form_end(form) }}