2020-05-10 03:53:30 -07:00
|
|
|
|
.modal.fade#modal-passwd{ aria: { hidden: true, labelledby: 'modal-passwd-label' }, role: :dialog, tabindex: -1 }
|
2020-04-25 06:16:45 -07:00
|
|
|
|
.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 } } ×
|
2020-04-25 06:16:45 -07:00
|
|
|
|
%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')
|
2020-04-25 06:16:45 -07:00
|
|
|
|
.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'
|