.back= link_to "⇧ home", root_path %h1.big_text Albums .right = link_to 'New Album', '#new_album_pane', {:class => "button", :id => "add_album_button"} .yo{:style => "display:none;" } #new_album_pane = render "albums/new_album" .sub_header %ul.button_set %li{:class => ("selected" if params[:friends])}= friends_albums_link %li{:class => ("selected" if not params[:friends])}= your_albums_link %div - for album in @albums = render "album", :post => album #pagination = will_paginate @albums #content_bottom .back = link_to "⇧ home", root_path