Sha256: 101561f2aa0078909324c8f932cb2883a147f5b6ca943adf34d006b3f41207bc

Contents?: true

Size: 811 Bytes

Versions: 6

Compression:

Stored size: 811 Bytes

Contents

<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: "new-password" %>
  </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 %>

<%= render "users/shared/links" %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
Xwitter-0.4.0 app/views/users/passwords/edit.html.erb
Xwitter-0.3.0.1 app/views/users/passwords/edit.html.erb
Xwitter-0.2.2 app/views/users/passwords/edit.html.erb
Xwitter-0.2.1 app/views/users/passwords/edit.html.erb
Xwitter-0.2.0 app/views/users/passwords/edit.html.erb
Xwitter-0.1.0 app/views/users/passwords/edit.html.erb