engine/app/views/admin/shared/menu/_assets.html.haml
2010-05-12 02:16:39 +02:00

7 lines
305 B
Plaintext

%ul
- @collections.each do |c|
%li{ :class => "#{'on' if @collection.id == c.id}" }
= link_to content_tag(:span, truncate(c.name, :length => 20)), edit_admin_asset_collection_url(c)
.action
= link_to content_tag(:span, t('admin.asset_collections.index.new')), new_admin_asset_collection_url