Sha256: 12c79b93b6ea39296632be5bdde9ccc16327541567178baa827c22b0ceff8ce6

Contents?: true

Size: 515 Bytes

Versions: 7

Compression:

Stored size: 515 Bytes

Contents

<%= content_tag(:div, :class => "asset ill", :id => "asset_#{asset.id}") do %>
  <%= link_to image_tag("manage/empty.gif", :alt=>t('manage.delete'), :title=>t('manage.delete')), 
          manage_asset_path(asset), 
          :remote => true,
          :method => :delete, 
          :confirm => t('manage.confirm_delete'),
          :class => "del" %>
          
  <%= link_to image_tag(asset.url(:thumb), :title => asset.filename, :width => 80, :height => 80), 
      asset.url, :class => "fancybox" %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sunrise-core-0.2.2 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.2.1 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.2.0 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.1.5 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.1.4 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.1.3 app/views/manage/fileupload/_asset.html.erb
sunrise-core-0.1.2 app/views/manage/fileupload/_asset.html.erb