Sha256: b506ee462837003bbc9db41e207d6b414ad4eeb617115755b3b48b9a8a122d7a

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 KB

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="form-inputs">
    <div class="form-group string required password">
      <%= f.label :password, "New password", class: "control-label string password required" %>
      <% if @minimum_password_length %>
        <em>(<%= @minimum_password_length %> characters minimum)</em><br />
      <% end %>
      <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control string password required" %>
    </div>

    <div class="form-group string required confirm_password">
      <%= f.label :password_confirmation, "Confirm new password", class: "control-label string password required" %>
      <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control string password required" %>
    </div>
  </div>


  <div class="form-actions text-right">
    <%= f.submit "Change my password", class: "btn btn-default" %>
  </div>
<% end %>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/devise/passwords/edit.html.erb
archangel-0.0.8 app/views/devise/passwords/edit.html.erb
archangel-0.0.7 app/views/devise/passwords/edit.html.erb
archangel-0.0.6 app/views/devise/passwords/edit.html.erb
archangel-0.0.5 app/views/devise/passwords/edit.html.erb
archangel-0.0.4 app/views/devise/passwords/edit.html.erb
archangel-0.0.3 app/views/devise/passwords/edit.html.erb
archangel-0.0.2 app/views/devise/passwords/edit.html.erb