Sha256: a63b79523b45a4786703030e000aa6c049fc1165003cfdd1d41f0d21636a0556
Contents?: true
Size: 708 Bytes
Versions: 2
Compression:
Stored size: 708 Bytes
Contents
<%= render :partial => 'left' %> <h1 class="users icon">Users</h1> <table class="grid"> <thead> <tr> <th>Name</th> <th colspan="2">Email</th> </tr> </thead> <tbody> <% @users.each do |user| -%> <tr class="row <%= cycle 'one', 'two' %>"> <td><%= link_to user.name, grandstand_user_path(user) %></td> <td><%= user.email %></td> <td class="actions"> <%= button_link_to 'Edit', edit_grandstand_user_path(user), :class => 'remote', :icon => :edit %> <%= button_link_to 'Delete', delete_grandstand_user_path(user), :class => 'remote', :icon => :delete unless user.id == current_user.id %> </td> </tr> <% end -%> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grandstand-0.2.7 | app/views/grandstand/users/index.html.erb |
grandstand-0.2.6 | app/views/grandstand/users/index.html.erb |