Sha256: 10a6aec46ed149521d7de98f9281e23cf5c867c35f50aa6092e41a61e098c318

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

<% collection.each do |resource| %>
    <tr id="<%= dom_id(resource) %>">
      <td><%= resource.name %></td>
      <td class="text-center">
        <% if current_user and current_user.admin? %>
            <%= link_to 'Show',  resource %>
            <%= link_to 'Edit', edit_gamification_item_type_path(resource) %>
            <%= link_to 'Destroy', resource, method: :delete, data: { confirm: 'Are you sure?' } %>
        <% end %>
      </td>
      </td>
    </tr>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
go_gamification-0.0.20 app/views/gamification/item_types/_collection.html.erb
go_gamification-0.0.19 app/views/gamification/item_types/_collection.html.erb
go_gamification-0.0.18 app/views/gamification/item_types/_collection.html.erb
go_gamification-0.0.17 app/views/gamification/item_types/_collection.html.erb