app/views/admin/photo_galleries/index.html.erb in tb_photos-1.0.6 vs app/views/admin/photo_galleries/index.html.erb in tb_photos-1.1.0.beta1

- old
+ new

@@ -1,17 +1,17 @@ <%= content_for :data_controls do %> <%= link_to "New Photo Gallery", new_admin_photo_gallery_path, :class => "btn btn-primary", :title => "New Photo Gallery" %> <% end %> <%= content_for :detail do %> - <div id="spud_admin_photo_galleries" class="spud_admin_photo_ui_thumbs"> + <div id="admin-photo-galleries" class="admin-photo-ui-thumbs"> <% @photo_galleries.each do |gallery| %> - <div id="spud_admin_photo_gallery_<%= gallery.id %>" class="spud_admin_photo_ui_thumb" style="background-image:url('<%= gallery.top_photo_url(:spud_admin_small) %>')"> + <div id="admin-photo-gallery-<%= gallery.id %>" class="admin-photo-ui-thumb" style="background-image:url('<%= gallery.top_photo_url(:spud_admin_small) %>')"> <h5><%= gallery.title %></h5> - <div class="spud_admin_photo_ui_thumb_controls"> - <%= link_to 'Edit', edit_admin_photo_gallery_path(gallery), :class => 'spud_admin_photos_btn_edit' %> - <%= link_to 'Delete', admin_photo_gallery_path(gallery), :method => :delete, :class => 'spud_admin_photos_btn_delete', :remote => true, :confirm => 'Are you sure?' %> + <div class="admin-photo-ui-thumb-controls"> + <%= link_to '', edit_admin_photo_gallery_path(gallery), :class => 'admin-photos-btn-edit' %> + <%= link_to '', admin_photo_gallery_path(gallery), :method => :delete, :class => 'admin-photos-btn-delete', :remote => true, :data => {:confirm => 'Are you sure?'} %> </div> </div> <% end %> <div> -<% end %> \ No newline at end of file +<% end %>