engine/app/views/admin/shared/menu/_assets.html.haml

7 lines
305 B
Plaintext
Raw Normal View History

2010-05-12 00:16:39 +00:00
%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