Retrospring/app/views/modal/_password.haml

14 lines
606 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")
2020-05-10 03:53:30 -07:00
%button.close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
2022-02-05 10:26:04 -08:00
%span.sr-only= 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