Retrospring/app/views/modal/_password.html.haml

13 lines
629 B
Plaintext
Raw Normal View History

2022-02-05 10:56:27 -08:00
.modal.fade#modal-passwd{ aria: { hidden: true, labelledby: "modal-passwd-label" }, role: :dialog, tabindex: -1 }
.modal-dialog
.modal-content
.modal-header
2022-02-05 10:26:04 -08:00
%h5.modal-title#modal-passwd-label= t(".title")
2023-01-04 02:48:22 -08:00
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span.visually-hidden= t("voc.close")
.modal-body
= f.password_field :current_password, autocomplete: "current-password"
.modal-footer
2022-02-05 10:26:04 -08:00
%button.btn.btn-default{ data: { dismiss: :modal }, type: :button }= t("voc.cancel")
= f.primary class: 'btn btn-primary', data: { disable_with: false }