{% extends "_market/_layouts/main" %} {% set title = 'My Details'|t('market') %} {% set breadcrumbs = [ { url: url('market/settings'), label: 'Settings'|t('market') }, { url: url('market/settings/details'), label: title } ] %} {% block main %} {% set user = user ?? currentUser %}
{% include '_market/settings/_nav.html' %}
{{ csrfInput() }} {{ actionInput('users/save-user') }} {{ hiddenInput('userId', user.id) }} {{ hiddenInput('successMessage', 'Details updated.'|hash) }} {{ hiddenInput('failMessage', 'Couldn’t update details.'|hash) }}

Update your details

You can change your name or update the email address that you sign in with.

{# First name #} {% set firstNameErrors = user.getErrors('firstName') %}
{% if firstNameErrors %}
{# Heroicon name: solid/exclamation-circle #}
{% endif %}
{% for error in firstNameErrors %}

{{ error }}

{% endfor %}
{# Last name #} {% set lastNameErrors = user.getErrors('lastName') %}
{% if lastNameErrors %}
{# Heroicon name: solid/exclamation-circle #}
{% endif %}
{% for error in lastNameErrors %}

{{ error }}

{% endfor %}
{# Email #} {% set emailErrors = user.getErrors('email') %}
{% if emailErrors %}
{# Heroicon name: solid/exclamation-circle #}
{% endif %}
{% for error in emailErrors %}

{{ error }}

{% endfor %}
{# Password #} {% set passwordErrors = user.getErrors('currentPassword') %}
{% if passwordErrors %}
{# Heroicon name: solid/exclamation-circle #}
{% endif %}
{% for error in passwordErrors %}

{{ error }}

{% endfor %}
{% endblock %}