Sha256: 143bd31fc5ef6381f56a9e3033a499e9303647a1c149b39ee908aa9bec046b89

Contents?: true

Size: 886 Bytes

Versions: 13

Compression:

Stored size: 886 Bytes

Contents

  <li class="span2" data-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

13 entries across 13 versions & 1 rubygems

Version Path
fullstack-cms-0.3.8.fix app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.8 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.7 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.6 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.5 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.4 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.3 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.2 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.3.1 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.2.36 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.2.35 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.2.34 app/views/admin/photos/_photo.html.erb
fullstack-cms-0.2.33 app/views/admin/photos/_photo.html.erb