Sha256: d2d6628620c3a9eca52c1ef477b272cd66182a7d150a5ba0a595792e0af935fa

Contents?: true

Size: 850 Bytes

Versions: 6

Compression:

Stored size: 850 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 a new password' %></p>
    <% end %>
  <% else %>
    <div id="errors" style="display: block">
      <%= devise_error_messages! %>
    </div>
  <% end %>
    <%= alchemy_form_for resource, as: resource_name, url: update_password_path, method: 'patch' do |f| %>
      <%= f.hidden_field :reset_password_token %>
      <%= f.input :password, autofocus: true, label: _t("New password") %>
      <%= f.input :password_confirmation, label: _t("Confirm new password") %>
      <%= f.submit _t("Change password") %>
    <% end %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy-devise-3.2.0 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-2.1.0 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-2.1.0.beta3 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-2.1.0.beta2 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-2.1.0.beta1 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-2.0.0 app/views/alchemy/passwords/edit.html.erb