Skip to content

Instantly share code, notes, and snippets.

@seandogg
Created October 14, 2019 17:03
Show Gist options
  • Save seandogg/5edcdc6ff6630e074ff91238999ebc92 to your computer and use it in GitHub Desktop.
Save seandogg/5edcdc6ff6630e074ff91238999ebc92 to your computer and use it in GitHub Desktop.
<div class="page-width page-content">
<div class="grid">
<div class="grid__item medium-up--one-third medium-up--push-one-third text-center">
<div class="form-vertical">
{% form 'reset_customer_password' %}
<header class="section-header">
<h1 class="section-header__title">{{ 'customer.reset_password.title' | t }}</h1>
<p>{{ 'customer.reset_password.subtext' | t: email: email }}</p>
</header>
{{ form.errors | default_errors }}
<label for="ResetPassword" class="hidden-label">{{ 'customer.reset_password.password' | t }}</label>
<input type="password" value="" name="customer[password]" id="ResetPassword" class="input-full{% if form.errors contains 'password' %} error{% endif %}" placeholder="{{ 'customer.reset_password.password' | t }}">
<label for="PasswordConfirmation" class="hidden-label">{{ 'customer.reset_password.password_confirm' | t }}</label>
<input type="password" value="" name="customer[password_confirmation]" id="PasswordConfirmation" class="input-full{% if form.errors contains 'password_confirmation' %} error{% endif %}" placeholder="{{ 'customer.reset_password.password_confirm' | t }}">
<div class="text-center">
<button type="submit" class="btn btn--full">
{{ 'customer.reset_password.submit' | t }}
</button>
</div>
{% endform %}
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment