Sha256: 4b1ddef9cfb9b0105fded5cdbc8dbfad9b46ed84278d2047376e25e03e80876e

Contents?: true

Size: 950 Bytes

Versions: 2

Compression:

Stored size: 950 Bytes

Contents

<% set_meta_tags title: 'CMS — Change Password' %>

<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>

<h2>Change your password</h2>

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

  <div class="field">
    <%= f.label :password, "New password" %><br />
    <% if @minimum_password_length %>
      <em>(<%= @minimum_password_length %> characters minimum)</em><br />
    <% end %>
    <%= f.password_field :password, autofocus: true, autocomplete: "off" %>
  </div>

  <div class="field">
    <%= f.label :password_confirmation, "Confirm new password" %><br />
    <%= f.password_field :password_confirmation, autocomplete: "off" %>
  </div>

  <div class="actions">
    <%= f.submit "Change my password" %>
  </div>
<% end %>

<%= link_to 'Sign In', new_session_path(resource_name) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chr-0.4.10 templates/devise_overrides_passwords_edit.html.erb
chr-0.4.9 templates/devise_overrides_passwords_edit.html.erb