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

3 lines
193 B
Plaintext

- @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}"