public
Description: The kick ass (non-commercial) home for musicians and their music
Homepage: http://alonetone.com
Clone URL: git://github.com/sudara/alonetone.git
sudara (author)
Mon May 12 16:19:10 -0700 2008
commit  46932449792418926d8655590ecaa2981b59e431
tree    60047bef1bfd9c313fe98c9b7791f66860f9d86d
parent  71a8a123b06a4ace4d0912fb44b90c74efa2af17
alonetone / app / views / playlists / index.html.erb
100755 18 lines (12 sloc) 0.679 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<% render(:layout => 'users/user') do %>
    <div class="additional_options">
     <%= link_to "create new playlist", new_user_playlist_path(@user), :id => 'add_playlist_button', :class => 'add button' if authorized? %>
   <%= link_to "change playlist order", sort_user_playlists_path(@user), :id => 'sort_playlist_button', :class => 'sort button' if authorized? %>
    
    </div>
    <% content_for :left do %>
     <%= render :partial => 'playlist', :collection => @playlists_left if @playlists_left %>
    
    <% end %>
    
    <% content_for :right do %>
     <%= render :partial => 'playlist', :collection => @playlists_right if @playlists_right %>
    <% end %>
    
<% end %>