Sha256: fb9cbc023e92d00daf6bc568d92a302df1fd1f8ae82c675a6fbc92bc82f0463d

Contents?: true

Size: 942 Bytes

Versions: 5

Compression:

Stored size: 942 Bytes

Contents

<%= 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">
    <% @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) %>')">
        <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>
      </div>
    <% end %>
  <div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_photos-1.0.6 app/views/admin/photo_galleries/index.html.erb
tb_photos-1.0.5 app/views/admin/photo_galleries/index.html.erb
tb_photos-1.0.4 app/views/admin/photo_galleries/index.html.erb
tb_photos-1.0.3 app/views/admin/photo_galleries/index.html.erb
tb_photos-1.0.1 app/views/admin/photo_galleries/index.html.erb