{{ 'customer.register.title' | t }}

{%- assign formId = 'RegisterForm' -%} {% form 'create_customer', id: formId %} {% include 'form-status', form: form, form_id: formId %} {%- if form.errors contains 'email' -%} {{ 'general.accessibility.error' | t }} {% include 'icon-error' %} {{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}. {%- endif -%} {%- if form.errors contains 'password' -%} {% include 'icon-error' %} {{ form.errors.translated_fields['password'] | capitalize }} {{ form.errors.messages['password'] }}. {%- endif -%}

{% endform %}