Sha256: aff0a52039d57925a73d11f7f8e5f8edb614a6e10598ce68a486dd42a1cf300b

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<% set_meta_tags title: "Change Password" %>

<div class='signin-modal'>
  <h2>Change password</h2>
  <p class='notice'><%= notice %></p>
  <p class='alert'><%= alert %></p>

  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
    <%= f.hidden_field :reset_password_token %>

    <label for='admin_password' class='form-input input-required input-string'>
      <div class='label'>
        New password
        <% if @minimum_password_length %>
          <em>(<%= @minimum_password_length %> characters minimum)</em>
        <% end %>
      </div>
      <%= f.password_field :password, autocomplete: "off", tabindex: 1 %>
    </label>

    <label for='admin_password_confirmation' class='form-input input-required input-string'>
      <div class='label'>Confirm new password</div>
      <%= f.password_field :password_confirmation, autocomplete: "off", tabindex: 2 %>
    </label>

    <%= devise_error_messages! %>

    <%= f.submit "Change password", tabindex: 3 %>
    <%= link_to "Sign In", new_session_path(resource_name) %>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chr-0.4.15 templates/devise_overrides_passwords_edit.html.erb