2018-06-09 02:45:05 -04:00
|
|
|
- add_to_breadcrumbs "Users", admin_users_path
|
|
|
|
- breadcrumb_title @user.name
|
2017-02-23 12:47:06 -05:00
|
|
|
- page_title "Impersonation Tokens", @user.name, "Users"
|
|
|
|
= render 'admin/users/head'
|
|
|
|
|
|
|
|
.row.prepend-top-default
|
|
|
|
.col-lg-12
|
2017-03-01 11:59:03 -05:00
|
|
|
= render "shared/personal_access_tokens_form", path: admin_user_impersonation_tokens_path, impersonation: true, token: @impersonation_token, scopes: @scopes
|
2017-02-23 12:47:06 -05:00
|
|
|
|
2017-03-01 11:59:03 -05:00
|
|
|
= render "shared/personal_access_tokens_table", impersonation: true, active_tokens: @active_impersonation_tokens, inactive_tokens: @inactive_impersonation_tokens
|