Sha256: 06d926c6897badf3005ac6ed6b7d28defbbb1551888564436623e964aa28b2aa

Contents?: true

Size: 795 Bytes

Versions: 7

Compression:

Stored size: 795 Bytes

Contents

<div class="login_signup_box">
  <%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
<% if @user.errors.blank? %>
  <%= render_message do %>
    <h1><%= Alchemy.t('Password reset') %></h1>
    <p><%= Alchemy.t('Please enter your email address') %></p>
  <% end %>
<% else %>
  <div id="errors" style="display: block">
    <%= devise_error_messages! %>
  </div>
<% end %>
  <%= alchemy_form_for :user, url: reset_password_path, html: {method: 'post'} do |f| %>
    <%= f.input :email,
      autofocus: true,
      input_html: {value: params[:email]} %>
    <div class="input link">
      <small>
        <%= link_to Alchemy.t(:back), alchemy.login_path %>
      </small>
    </div>
    <%= f.submit Alchemy.t("Send reset instructions"), input_html: {class: 'secondary'} %>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy-devise-4.4.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.3.1 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.3.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.2.1 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.2.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.1.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-4.1.0.beta app/views/alchemy/passwords/new.html.erb