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

7 lines
315 B
Plaintext
Raw Normal View History

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