Sha256: e1b7a22182731f109e65d3e538e1ceb25325703153301e4761b3979cfc0d5419

Contents?: true

Size: 542 Bytes

Versions: 4

Compression:

Stored size: 542 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

4 entries across 4 versions & 1 rubygems

Version Path
switch_user-1.5.3 app/views/switch_user/_widget.html.erb
switch_user-1.5.2 app/views/switch_user/_widget.html.erb
switch_user-1.5.1 app/views/switch_user/_widget.html.erb
switch_user-1.5.0 app/views/switch_user/_widget.html.erb