<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put ,:id=>"frm_create_dashboard",:class=> "form-horizontal form-label-left"}) do |f| %> <%= devise_error_messages! %>

Change Password <%= f.submit :Save , class: 'btn btn-success btn-sm pull-right btndashboard'%>

<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
Currently waiting confirmation for: <%= resource.unconfirmed_email %>
<% end %>
<%= f.password_field :current_password, autocomplete: "off",:class=>"form-control" %>
<%= f.password_field :password, autocomplete: "off",:class=>"form-control" %> <% if @minimum_password_length %>
<%= @minimum_password_length %> characters minimum <% end %>
<%= f.password_field :password_confirmation, autocomplete: "off",:class=>"form-control" %>
<% end %>