2010-05-12 00:16:39 +00:00
|
|
|
%ul
|
2010-07-13 00:46:17 +00:00
|
|
|
- @asset_collections.each do |c|
|
|
|
|
%li{ :class => "#{'on' if @asset_collection.id == c.id}" }
|
2010-05-12 00:16:39 +00:00
|
|
|
= 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
|