Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.64 KB  |  views: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <h3><%= link_to_remote 'All Plans', :url => {:action => 'get_plans', :tab => 'all'}, :update => 'socialcalendar' %></h3>
  2.   <h3><%= link_to_remote 'Me', :url => {:action => 'get_plans', :tab => 'user'}, :update => 'socialcalendar' %></h3>
  3.   <h3><%= link_to_remote 'Friends', :url => {:action => 'get_plans', :tab => 'friends'}, :update => 'socialcalendar' %></h3>
  4.  
  5. <select onchange="refreshpage">
  6.   <option <%= "selected" if @plans_tab == :all %>>All upcoming plans</option>
  7.   <option <%= "selected" if @plans_tab == :user %>>My plans only</option>
  8.   <option <%= "selected" if @plans_tab == :friends %>>Friends plans only</option>
  9. </select>
clone this paste RAW Paste Data