account_form partial

The account_form.twig partial can be used to host the account form.

It is referenced on the account_create.twig and account_edit.twig views to allow visitors to the website to either create an account or, if logged into an account, to edit their account.

Use the variable {{ global.customer.id }} to detect whether a visitor is currently logged into an account.