SHARE
TWEET

Untitled

a guest Feb 22nd, 2012 14 Never
  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>
RAW Paste Data
Top