% if params[:event_type].blank? %>
All Events
<% else %>
Events: <%= params[:event_type] %>
<% end %>
<%= render :partial => 'search_form' %>
Calendar
List
<%= link_to_new_event({}, {:class => 'fake_button'}) %>
<%= render :partial => 'calendar' %>
<%= render :partial => 'list' %>
Events filter:
<%= form_tag events_path, :method => :get, :style => 'display:inline' do %>
<%= select_tag :event_type, ''.html_safe + options_for_select(Event.existing_event_types, params[:event_type]) %>
<%= submit_tag "go" %>
<% end %>