Sha256: b12ab3d312462dab23cc3c4d22db8ae31e923a001d1752d3c9a78613b35f9c71

Contents?: true

Size: 897 Bytes

Versions: 14

Compression:

Stored size: 897 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 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: admin_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") %>
    <div class="input link">
      <small>
        <%= link_to Alchemy.t(:back), alchemy.admin_login_path %>
      </small>
    </div>
    <%= f.submit Alchemy.t("Change password") %>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy-devise-7.2.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-7.1.2 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-7.1.1 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-7.1.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-7.0.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-6.3.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-6.2.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-6.1.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-6.0.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-5.1.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-5.0.1 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-5.0.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-4.6.0 app/views/alchemy/admin/passwords/edit.html.erb
alchemy-devise-4.5.0 app/views/alchemy/admin/passwords/edit.html.erb