Sha256: afd447bf659f44918c1bac435c99b9a67740ab84676b9e4c7fbad25abf3dc85e

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 Bytes

Contents

%li

  %div{ :class => "#{asset_type} asset", :id =>  "bucket_#{asset_id}" }
    = link_to image_tag(asset_thumbnail), asset_url, :title => asset_title, :class => "bucket_link"

  .info{ :id => "#{asset_id}_info" }
    = link_to image_tag('/images/assets/edit.png'), edit_admin_asset_url(asset_id), :class => "edit_asset", :title => t("paperclipped.edit_asset", :asset => asset_title)
    - if page && !page.new_record?
      = link_to image_tag('/images/assets/add.png'), attach_page_asset_url(:asset => asset_id, :page => page.id), :class => "add_asset", :title => t("paperclipped.attach_to_page")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-paperclipped-extension-0.8.1 app/views/admin/assets/_bucket_asset.html.haml