Sha256: d059eb07ed68cfac9a44d789082ee1784759f8b5672854b24b94f98ad0038658

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

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-repeat"></i>'.html_safe, rotate_admin_photo_path(photo, :deg => 90), :remote => true, :method => :post %>
        <%= 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

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-cms-0.3.10 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.9 app/views/admin/photos/_photo.html.erb