app/views/admin/slide_shows/index.html.erb in beef-slides-1.1.2 vs app/views/admin/slide_shows/index.html.erb in beef-slides-1.1.4

- old
+ new

@@ -13,13 +13,13 @@ </tr> </thead> <tbody> <% @slide_shows.each do |slide_show| %> <tr id="slide_show-<%= slide_show.id %>"> - <td><%= link_to slide_show.title, admin_slide_show_slides_path(slide_show) %></td> + <td><%= link_to slide_show.title, admin_slide_show_path(slide_show) %></td> <td><%= link_to pluralize(slide_show.slides.count, "Slide"), admin_slide_show_slides_path(slide_show) %></td> - <td><%= link_to 'Edit', admin_slide_show_path(slide_show), :class => 'edit' %></td> - <td><%= link_to 'Destroy', admin_slide_show_path(slide_show), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' unless slide_show.lock_level >=1 || !current_user.admin? %></td> + <td class="action"><%= link_to 'Edit', admin_slide_show_path(slide_show), :class => 'edit' %></td> + <td class="action"><%= link_to 'Destroy', admin_slide_show_path(slide_show), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' unless slide_show.lock_level >=1 || !current_user.admin? %></td> </tr> <% end %> </tbody> <tfoot> <tr>