Sha256: b700871e6eada76fea1bc15ff7a56f0d5ddee0e8dd73b2a139ba686e73a3113b

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
sunrise-core-0.1.1 app/views/manage/assets/_picture.html.erb
sunrise-core-0.1.0 app/views/manage/assets/_picture.html.erb
freeberry-0.3.0 lib/generators/freeberry/base/templates/views/manage/assets/_picture.html.erb