Sha256: 4caee89d58359b70676bc1ce5ffdae4cb4474d700662cddcb34407edc2965831

Contents?: true

Size: 777 Bytes

Versions: 8

Compression:

Stored size: 777 Bytes

Contents

<h1>Listing Users</h1>

<table>
  <thead>
    <tr><% if config[:adding_first_and_last_name] %>
      <th>First Name</th>
      <th>Last Name</th><% end %>
      <th>Email</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <%% @users.each do |user| %>
      <tr><% if config[:adding_first_and_last_name] %>
        <td><%%= user.first_name %></td>
        <td><%%= user.last_name %></td><% end %>
        <td><%%= link_to user.email, impersonate_admin_user_path(user) %></td>
        <td><%%= link_to 'Show', user %></td>
        <td><%%= link_to 'Edit', edit_user_path(user) %></td>
        <td><%%= link_to 'Destroy', user, data: { confirm: 'Are you sure?' }, method: :delete %></td>
      </tr>
    <%% end %>
  </tbody>
</table>

<br />

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voyage-1.44.0.14 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.13 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.11 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.12 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.10 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.9 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.8 lib/voyage/templates/users_index.html.erb
voyage-1.44.0.7 lib/voyage/templates/users_index.html.erb