app/views/devise/passwords/edit.html.erb

Summary

Maintainability
Test Coverage
<div class="wrapper">

  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: 'form-signin', method: :put }) do |f| %>
     <h2 class="form-signin-heading">APIQ</h2>
     <h4>Change your password</h4>
    <%= devise_error_messages! %>
    <%= f.hidden_field :reset_password_token %>

      <% if @minimum_password_length %>
        <em>(<%= @minimum_password_length %> characters minimum)</em><br />
      <% end %>
      <%= f.password_field :password, autofocus: true, autocomplete: "off", class: 'form-control', placeholder: 'Password' %>

    <%= f.password_field :password_confirmation, autocomplete: "off", class: 'form-control', placeholder: 'Password confirmation' %>

    <%= f.submit "Change my password", class: "btn btn-lg btn-primary btn-block" %>

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

</div>