Sha256: 193c802641bddcb0a7b3c877f84cdff55e566d6a961621b2110d0d4e2abff5f6
Contents?: true
Size: 1.23 KB
Versions: 3
Compression:
Stored size: 1.23 KB
Contents
<table class='table table-striped'> <thead> <tr class='<%= cycle('odd', 'even') %>'> <th><%= t('activerecord.attributes.user.name') %></th> <th><%= t('activerecord.attributes.user.first_name') %></th> <th><%= t('activerecord.attributes.user.last_name') %></th> <th></th> </tr> </thead> <tbody> <% @users.each do |user| %> <tr class='<%= cycle('odd', 'even') %>'> <td><%= link_to user.name, edit_user_path(user) %></td> <td><%= user.first_name %></td> <td><%= user.last_name %></td> <td> <div class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= t('general.actions') %></a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <li> <%= link_to( t('general.destroy'), user_path(user.id), id: "user_#{user.id}", method: :delete, data: { confirm: t('general.questions.are_you_sure') }, onclick: "delete_link('user_#{user.id}'); return false;" ) %> </li> <li><%= link_to t('general.edit'), eval("edit_user_path(user)") %></li> </ul> </div> </td> </tr> <% end %> </tbody> </table>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
home_page-0.0.5 | app/views/users/index.html.erb |
home_page-0.0.4 | app/views/users/index.html.erb |
home_page-0.0.3 | app/views/users/index.html.erb |