engine/app/views/admin/theme_assets/_asset.html.haml
2010-05-11 23:38:52 +02:00

7 lines
378 B
Plaintext

%li{ :class => "asset #{'last' if (asset_counter + 1) % 6 == 0}"}
%h4= link_to truncate(asset.slug, :length => 22), edit_admin_theme_asset_path(asset)
.image
.inside
= vignette_tag(asset)
.actions
= link_to image_tag('admin/list/icons/cross.png'), admin_theme_asset_path(asset), :class => 'remove', :confirm => t('admin.messages.confirm'), :method => :delete