Retrospring/app/views/modal/_password.haml

17 lines
830 B
Plaintext
Raw Normal View History

2020-05-10 03:53:30 -07:00
.modal.fade#modal-passwd{ aria: { hidden: true, labelledby: 'modal-passwd-label' }, role: :dialog, tabindex: -1 }
.modal-dialog
.modal-content
.modal-header
2020-05-10 03:53:30 -07:00
%h5.modal-title#modal-passwd-label= t 'views.settings.account.modal.title'
%button.close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.sr-only= t 'views.actions.close'
.modal-body
2020-05-10 03:53:30 -07:00
= f.password_field :current_password,
2020-05-10 13:27:39 -07:00
autocomplete: :off,
2020-05-10 03:53:30 -07:00
label: t('views.settings.account.password_current'),
help: t('views.settings.account.password_current_help')
.modal-footer
2020-05-10 03:53:30 -07:00
%button.btn.btn-default{ data: { dismiss: :modal }, type: :button }= t 'views.actions.cancel'
%button.btn.btn-primary{ type: :submit }= t 'views.actions.save'