- @window_title = "Asset Library" - @page_title = "Asset Library" .row-fluid = render :partial => "/gluttonberg/admin/asset_library/shared/sidebar" .span9 .row-fluid .page-header %h1 = @page_title.html_safe .subnav = sub_nav do %li %a{:href => admin_asset_category_path(:category => 'all' , :page => 1 ), :class => "browseAll"} All - @categories.each do |category| %li - text = ( category.name == "uncategorised" ? "Other" : category.name.pluralize.capitalize ) - if text == "Audios" - text = "Audio" %a{:href => admin_asset_category_path(:category => category.name , :page => 1), :class => "browse#{text}"} = text = render :partial => "search_form"