Sha256: 52220d8519edd880d910399411f8a58c7052e87e629932c0d50e71b77239c762

Contents?: true

Size: 807 Bytes

Versions: 14

Compression:

Stored size: 807 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 your email address') %></p>
  <% end %>
<% else %>
  <div id="errors" style="display: block">
    <%= devise_error_messages! %>
  </div>
<% end %>
  <%= alchemy_form_for :user, url: admin_reset_password_path, html: {method: 'post'} do |f| %>
    <%= f.input :email,
      autofocus: true,
      input_html: {value: params[:email]} %>
    <div class="input link">
      <small>
        <%= link_to Alchemy.t(:back), alchemy.admin_login_path %>
      </small>
    </div>
    <%= f.submit Alchemy.t("Send reset instructions"), input_html: {class: 'secondary'} %>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

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