Sha256: 5cbe6c9202b3f778cc980a357c7bf405e99f14dc302a588fb6f30a48b83a8610

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 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 = '#{ActionController::Base.relative_url_root || '/'}switch_user?scope_identifier=' + encodeURIComponent(this.options[this.selectedIndex].value)", :class => classes, :style => styles %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
switch_user-1.4.0 app/views/switch_user/_widget.html.erb
switch_user-1.3.1 app/views/switch_user/_widget.html.erb