Sha256: 328d96fe74a53fec83f2348f52dd3ae29cc6b124df2f55e10a17c3c209a69368

Contents?: true

Size: 803 Bytes

Versions: 11

Compression:

Stored size: 803 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: "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 %>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ratable-0.1.1 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.1.0 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.9 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.8 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.7 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.6 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.5 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.4 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.3 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.2 spec/dummy/app/views/admins/passwords/edit.html.erb
ratable-0.0.1 spec/dummy/app/views/admins/passwords/edit.html.erb