Sha256: 5aa127e05fb3db6e947075a49aaba96ac20290ee07b0fb5a62cf71460c126bf3

Contents?: true

Size: 911 Bytes

Versions: 4

Compression:

Stored size: 911 Bytes

Contents

  <li class="span2" data-id="<%= photo.id %>" data-photo-id='<%= photo.id %>'>
    <div class="thumbnail">
      <%= image_tag photo.url(:thumb), :style => "height: 141px" %>
      <div class="thumbnail-toolbar">
        <%= btn '<i class="icon-zoom-in"></i>'.html_safe, photo.url, :rel => "facebox", :'data-tip' => t('fullstack.admin.preview', :default => "Preview") %>        
        <%= btn '<i class="icon-edit"></i>'.html_safe, edit_admin_photo_path(photo), :'data-target' => '#edit-photo-modal', :'data-toggle' => 'modal', :"data-tip" => t('fullstack.admin.edit', :default => "Edit") %>
        <%= btn '', admin_photo_path(photo), :remote => true, :method => :delete, :confirm => t('fullstack.admin.are_you_sure', :default => "Are you sure?"), :icon => :trash, :type => :danger, :icon_color => :white, :'data-tip' => t('fullstack.admin.delete', :default => "Delete") %>
      </div>
    </div>
  </li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fullstack-cms-0.3.14 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.13 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.12 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.11 app/views/admin/photos/_photo.html.erb