Sha256: 2acb027eb3c54f8912191f1f5e0d7eca0972d98c5da8bead407d409160b43266

Contents?: true

Size: 649 Bytes

Versions: 3

Compression:

Stored size: 649 Bytes

Contents

<div id="spud_admin_photo_album_<%= album.id %>" class="spud_admin_photo_ui_thumb" style="background-image:url('<%= album.top_photo_url(:spud_admin_small) %>')">
  <h5><%= album.title %></h5>
  <div style="display:none;">
    <%= hidden_field_tag 'spud_photo_gallery[album_ids][]', album.id %>
  </div>
  <div class="spud_admin_photo_ui_thumb_controls">
    <%= link_to 'Edit', edit_admin_photo_album_path(album), :class => 'spud_admin_photos_btn_edit' %>
    <%= link_to 'Delete', admin_photo_album_path(album), :method => :delete, :class => 'spud_admin_photos_btn_delete', :remote => true, :data => {:confirm => 'Are you sure?'} %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_photos-1.0.6 app/views/admin/photo_albums/_album.html.erb
tb_photos-1.0.5 app/views/admin/photo_albums/_album.html.erb
tb_photos-1.0.4 app/views/admin/photo_albums/_album.html.erb