mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
805 B
Text
16 lines
805 B
Text
.container
|
|
.row
|
|
.col-md-6.col-md-offset-3
|
|
.panel.panel-default
|
|
.panel-heading
|
|
%h3.panel-title
|
|
Change your password
|
|
.panel-body
|
|
= semantic_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
|
= f.hidden_field :reset_password_token
|
|
= f.input :password, input_html: { autofocus: true, required: true, autocomplete: "off"}, label: 'New password'
|
|
= f.input :password_confirmation, input_html: { required: true, autocomplete: "off" }, label: 'New password confirmation'
|
|
%p.text-right
|
|
= f.action :submit, as: :button, label: 'Change my password', button_html: { class: 'btn btn-success' }
|
|
|
|
= render partial: 'devise/shared/help'
|