{{ 'customer.css' | asset_url | stylesheet_tag }} {%- style -%} .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; } @media screen and (min-width: 750px) { .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top }}px; padding-bottom: {{ section.settings.padding_bottom }}px; } } {%- endstyle -%}

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

{{ 'customer.recover_password.subtext' | t }}

{%- form 'recover_customer_password' -%} {% assign recover_success = form.posted_successfully? %}
{%- if form.errors -%} {{ form.errors.messages.form }} {%- endif -%} {{ 'customer.login_page.cancel' | t }} {%- endform -%}

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

{%- if recover_success == true -%}

{{ 'customer.recover_password.success' | t }}

{%- endif -%} {%- form 'customer_login', novalidate: 'novalidate' -%} {%- if form.errors -%}

{{ 'accessibility.error' | t }} {{ 'templates.contact.form.error_heading' | t }}

{{ form.errors | default_errors }} {%- endif -%}
{%- if form.password_needed -%}
{{ 'customer.login_page.forgot_password' | t }} {%- endif -%} {{ 'customer.login_page.create_account' | t }} {%- endform -%}
{%- if shop.checkout.guest_login -%}

{{ 'customer.login_page.guest_title' | t }}

{%- form 'guest_login' -%} {%- endform -%}
{%- endif -%}
{% schema %} { "name": "t:sections.main-login.name", "settings": [ { "type": "header", "content": "t:sections.all.padding.section_padding_heading" }, { "type": "range", "id": "padding_top", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_top", "default": 36 }, { "type": "range", "id": "padding_bottom", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_bottom", "default": 36 } ] } {% endschema %}