% if params[:event_type].blank? %>
All Events
<% else %>
Events: <%= params[:event_type] %>
<% end %>
<%= 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 %>