- content_for :head do
  =stylesheet_link_tag 'fassets_core/application'
  =javascript_include_tag 'fassets_core/application'
  =yield :head

- content_for :catalogs_selector do
  =collection_select :catalog, :id, Catalog.all, :id, :title, options ={:prompt => "Catalogs ..."},  :onchange => "javascript:window.location= '/catalogs/' + this.value"

- content_for :tray do
  =render :partial => "shared/tray"
//  - if user_signed_in?
//    =form_tag(main_app.replace_user_tray_positions_path(current_user), :id => "tray", :method => :put) do
//      %ul#create_links
//        %li=link_to "New Assets", "", :id => "new_asset_link"
//        =yield :create_asset_link
//      %ol.sortable{:id => "users.#{current_user.id}.tray_positions.replace",:class => "sortable_tray"}
//        -current_user.tray_positions.each do |tp|
//          -if tp.clipboard_type
//            =render :partial => "shared/clipboard", :locals => {:tp => tp}
//          -else
//            =render :partial => "shared/asset", :locals => {:tp => tp, :asset => tp.asset}

=render :template => 'layouts/application'

- content_for :head do
  =stylesheet_link_tag 'fassets_core/application'
  =javascript_include_tag 'fassets_core/application'
  =yield :head

- content_for :catalogs_selector do
  =collection_select :catalog, :id, Catalog.all, :id, :title, options ={:prompt => "Catalogs ..."},  :onchange => "javascript:window.location= '/catalogs/' + this.value"

- content_for :tray do
  =render :partial => "shared/tray"

=render :template => 'layouts/application'

Remove some commented code that was move to shared/tray.
Remove some commented code that was move to shared/tray.
