Sha256: c078f1e3f13cc19d76eb410c2f15094c34c4f101af67b513247edfaef4a30576
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 KB
Contents
- form_target = Rails.application.routes.url_helpers.send("#{Faalis::Engine.dashboard_namespace}_auth_users_edit_password_path".to_sym, @user.id) - index = Rails.application.routes.url_helpers.send("#{Faalis::Engine.dashboard_namespace}_auth_users_path".to_sym) = form_tag(form_target, remote: true, method: :patch) do .row .col-sm-12 .box.box-primary .box-header .box-title = t('faalis.dashboard.change_password') .box-body .row .col-sm-12.col-lg-6 .form-group data-name="password" label for="password" = t('password') input#group_name.form-control[name="user[password]" type="password"] .row .col-sm-12.col-lg-6 .form-group data-name="password_confirmation" label for="password_confirmation" = t('password_confirmation') input#group_name.form-control[name="user[password_confirmation]" type="password"] .box-footer .row .col-sm-2 button.btn.btn-success.btn-block type="submit" i.fa.fa-check | = t('faalis.save') .col-sm-2.pull-right div.btn.btn-danger.btn-block onclick=("redirect_to('#{index}')") i.fa.fa-times = t('faalis.cancel')
Version data entries
5 entries across 5 versions & 1 rubygems