retrospring/app/views/modal/_password.haml

14 lines
606 B
Text
Raw Normal View History

2022-02-05 19:56:27 +01: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 19:26:04 +01:00
%h5.modal-title#modal-passwd-label= t(".title")
2020-05-10 12:53:30 +02:00
%button.close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
2022-02-05 19:26:04 +01:00
%span.sr-only= t("voc.close")
.modal-body
= f.password_field :current_password, autocomplete: "current-password"
.modal-footer
2022-02-05 19:26:04 +01:00
%button.btn.btn-default{ data: { dismiss: :modal }, type: :button }= t("voc.cancel")
= f.primary