Sha256: 67cf1e1a52679e67edfc4c85aa3f254849760a375960edcd0b275d63488cf90d

Contents?: true

Size: 763 Bytes

Versions: 3

Compression:

Stored size: 763 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><%= 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]} %>
      <%= f.submit Alchemy.t("Send reset instructions") %>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-devise-3.5.0.beta app/views/alchemy/passwords/new.html.erb
alchemy-devise-3.4.0 app/views/alchemy/passwords/new.html.erb
alchemy-devise-3.3.0 app/views/alchemy/passwords/new.html.erb