Sha256: c0c5c339f0a059769ecd29a755c2efbaeb26babbaa5d810c525a9cfb87620ba3

Contents?: true

Size: 740 Bytes

Versions: 3

Compression:

Stored size: 740 Bytes

Contents

<div id="login_box">
  <div id="alchemy_greeting">
    <%= image_tag("alchemy/alchemy-logo.svg", style: "width: 240px; height: 70px") %>
  </div>
  <div class="login_signup_box">
  <% if @user.errors.blank? %>
    <%= render_message do %>
      <h1><%= _t 'Password reset' %></h1>
      <p><%= _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]} %>
      <%= f.submit _t("Send reset instructions") %>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-devise-3.2.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-2.1.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-2.1.0.beta3 app/views/alchemy/passwords/new.html.erb