Sha256: 19168fe36226c398fce42c2677391612c7ef195c5c137b21a6c2f8df80db6247
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
<h1>Listing categories</h1> <% @categories.group_by(&:group).each do |group, categories| %> <h3><%=h group -%></h3> <table> <tr> <th>Name</th> </tr> <% categories.each do |category| %> <tr> <td title="<%= h(category.description) -%>"><%=h category.name %></td> <td><%= link_to 'Show', eventable_category_path(category) %></td> <td><%= link_to 'Edit', edit_eventable_category_path(category) %></td> <td><%= button_to 'Destroy', eventable_category_path(category), :confirm => 'Are you sure?', :method => :delete %></td> </tr> <% end %> </table> <% end %> <br /> <%= link_to 'New category', new_eventable_category_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dcs-eventable-0.0.8 | app/views/eventable/categories/index.html.erb |