Sha256: c3d742454e335a42568189abb07358273c695800da327070e03248efc0dc8f26

Contents?: true

Size: 536 Bytes

Versions: 33

Compression:

Stored size: 536 Bytes

Contents

<% if SwitchUser.switch_back %>
  <%= check_box_tag "remember_user", "remember_user", provider.original_user.present?, onchange: "location.href = '#{ActionController::Base.relative_url_root}/switch_user/remember_user?remember=' + encodeURIComponent(this.checked)" %>
<% end %>

<%= select_tag "switch_user_identifier", option_tags, onchange: "location.href = '#{Rails.application.routes.url_helpers.switch_user_path(scope_identifier: '')}' + encodeURIComponent(this.options[this.selectedIndex].value)", class: classes, style: styles %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rails_base-0.82.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.81.1 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.81.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.80.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.6 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.5 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.4 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.3 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.2 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.1 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.75.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.74.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.73.1 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.73.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.72.1 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.72.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.71.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.70.1.pre app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.70.0 app/views/rails_base/switch_user/_widget.html.erb
rails_base-0.61.0 app/views/rails_base/switch_user/_widget.html.erb