Sha256: cf2c10698b7a76970877885eed809ca6a10127aae1a7f642c4885ad535791a53

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

Contents

<div class="o-page">
  <div class="o-page__content u-pd-content">
    <div class="u-centered u-container--condensed">
      <h1 class="u-margin-bottom--large">Forgot your password?</h1>
      <div class="u-hr-small u-margin-bottom--xlarge"></div>

      <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
        <%= f.email_field :email, autofocus: true, class: 'o-input-placehoder--medium-gray' + (resource.errors[:access_code].present? ? ' o-input-error' : ''), placeholder: 'Enter your email' %>
        <% if resource.errors[:email].present? %>
          <p class="cs-txt-link--error">
            Email <%= resource.errors[:email].first %>
          </p>
        <% end %>

        <%= f.submit 'Send me reset password instructions', class: 'o-btn o-btn--xs-full o-btn--yellow o-btn--xs-full' %>
      <% end %>

      <div class="u-margin-bottom--xlarge u-margin-top--xlarge">
        <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
      </div>
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/views/devise/passwords/new.html.erb
lcms-engine-0.1.3 app/views/devise/passwords/new.html.erb
lcms-engine-0.2.0 app/views/devise/passwords/new.html.erb
lcms-engine-0.1.2 app/views/devise/passwords/new.html.erb
lcms-engine-0.1.0 app/views/devise/passwords/new.html.erb