show.html.haml 433 B

123456789
  1. - content_for :page_title do
  2. = t('admin.accounts.change_role.title', username: @user.account.username)
  3. = simple_form_for @user, url: admin_user_role_path(@user) do |f|
  4. .fields-group
  5. = f.association :role, wrapper: :with_block_label, collection: UserRole.assignable, label_method: :name, include_blank: I18n.t('admin.accounts.change_role.no_role')
  6. .actions
  7. = f.button :button, t('generic.save_changes'), type: :submit