Sha256: 1558cf7922c1aa8cc2fa4b6c9f3aab31c1477c2e71b47b6595ad9b11c163e528

Contents?: true

Size: 887 Bytes

Versions: 3

Compression:

Stored size: 887 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 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: Alchemy.t("New password") %>
      <%= f.input :password_confirmation, label: Alchemy.t("Confirm new password") %>
      <%= f.submit Alchemy.t("Change password") %>
    <% 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/edit.html.erb
alchemy-devise-3.4.0 app/views/alchemy/passwords/edit.html.erb
alchemy-devise-3.3.0 app/views/alchemy/passwords/edit.html.erb