Sha256: a9216b3b4528538970dff59f298bad73fd857a2bfcbdb644d2b5d2fa2a1a6832

Contents?: true

Size: 615 Bytes

Versions: 22

Compression:

Stored size: 615 Bytes

Contents

<%= form_tag switch_user_users_path do %>
  <div class="row">
    <div class="small-12 columns">
      <h1>Switch User</h1>
      <%= submit_tag 'Submit', class: 'success button' %>
    </div>
  </div>

  <% if flash[:notice] %>
    <div class="row">
      <div class="small-12 columns">
        <div class="callout success">
          <%= flash[:notice] %>
        </div>
      </div>
    </div>
  <% end %>

  <div class="row">
    <div class="small-12 columns">
      <%= select_tag :user_id, options_for_select(@users.map{ |u| ["#{u.name} &mdash; #{u.email}".html_safe, u.id] }) %>
    </div>
  </div>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
guts-3.1.2 app/views/guts/users/switch_user.html.erb
guts-3.1.1 app/views/guts/users/switch_user.html.erb
guts-3.1.0 app/views/guts/users/switch_user.html.erb
guts-3.0.1 app/views/guts/users/switch_user.html.erb
guts-3.0.0 app/views/guts/users/switch_user.html.erb
guts-2.1.0 app/views/guts/users/switch_user.html.erb
guts-2.0.2 app/views/guts/users/switch_user.html.erb
guts-2.0.1 app/views/guts/users/switch_user.html.erb
guts-2.0.0 app/views/guts/users/switch_user.html.erb
guts-1.4.0 app/views/guts/users/switch_user.html.erb
guts-1.3.6 app/views/guts/users/switch_user.html.erb
guts-1.3.5 app/views/guts/users/switch_user.html.erb
guts-1.3.4 app/views/guts/users/switch_user.html.erb
guts-1.3.3 app/views/guts/users/switch_user.html.erb
guts-1.3.2 app/views/guts/users/switch_user.html.erb
guts-1.3.1 app/views/guts/users/switch_user.html.erb
guts-1.3.0 app/views/guts/users/switch_user.html.erb
guts-1.2.2 app/views/guts/users/switch_user.html.erb
guts-1.2.1 app/views/guts/users/switch_user.html.erb
guts-1.2.0 app/views/guts/users/switch_user.html.erb