- content_for :title do = 'Change your password' - content_for :content do .row %div{class: 'col-md-6 center-block'} -bs_panel('Change your password','primary') do =bootstrap_form_for([resource], :as => resource_name, :url => registration_path(resource_name), method: :put ) do |f| =devise_error_messages! =f.email_field :email,autofocus: true -if devise_mapping.confirmable? && resource.pending_reconfirmation? %p.text-warning= "Currently waiting confirmation for: #{resource.unconfirmed_email}" =f.password_field :password, autocomplete: "off",label: raw("Password (leave blank if you don't want to change it)") =f.password_field :password_confirmation, autocomplete: "off" =f.password_field :current_password, autocomplete: "off",label: raw("Current password (we need your current password to confirm your changes)") =f.submit "Update",class: 'btn btn-success center-block' =render "devise/shared/links" =link_to "Back", :back