Sha256: c54bc12917f5dd0038e028c1341dd68b3d65ee01946cd28f699264a3557b16bb

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 Bytes

Contents

- if user_signed_in?
  =form_tag main_app.replace_user_tray_positions_path(current_user),
    :data => { :user_id => current_user.id },
    :id => "tray",
    :method => :put do
    %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}
      %ul#create_links
        %li=button_tag "New Assets", :id => "new_asset_link"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fassets_core-0.4.0 app/views/shared/_tray.html.haml
fassets_core-0.3.1 app/views/shared/_tray.html.haml
fassets_core-0.3.0 app/views/shared/_tray.html.haml
fassets_core-0.2.0 app/views/shared/_tray.html.haml