app/views/admin/gallery/galleries/index.html.erb in comfy_gallery-0.1.1 vs app/views/admin/gallery/galleries/index.html.erb in comfy_gallery-0.1.2
- old
+ new
@@ -8,12 +8,10 @@
<table class='formatted'>
<tr>
<th> Preview </th>
<th> Name </th>
- <th> URL </th>
- <th> Embed Code </th>
<th> Actions </th>
</tr>
<% @galleries.each do |gallery| %>
<tr>
<td class='preview'>
@@ -21,15 +19,9 @@
<%= image_tag(photo.image.url(:admin_thumb)) %>
<% end %>
</td>
<td class='main'>
<%= link_to gallery.title, admin_gallery_gallery_photos_path(gallery) %>
- </td>
- <td>
- <%= link_to gallery_path(gallery), gallery_path(gallery), :target => '_blank' %>
- </td>
- <td class='embed'>
- {{ cms:helper:render_gallery:<%= gallery.identifier %> }}
</td>
<td class='action_links'>
<%= link_to 'Show Photos', admin_gallery_gallery_photos_path(gallery) %>
<%= link_to 'Edit', edit_admin_gallery_gallery_path(gallery) %>
<%= link_to 'Delete', admin_gallery_gallery_path(gallery), :method => :delete, :confirm => 'Are you sure?' %>
\ No newline at end of file