7 lines
305 B
Plaintext
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
|