<%=l(:label_activity)%>

<%= start_form_tag %>

<%= select_month(@month, :prefix => "month", :discard_type => true) %> <%= select_year(@year, :prefix => "year", :discard_type => true) %>

<%= check_box_tag 'show_issues', 1, @show_issues %><%= hidden_field_tag 'show_issues', 0 %> <%=l(:label_issue_plural)%>
<%= check_box_tag 'show_news', 1, @show_news %><%= hidden_field_tag 'show_news', 0 %> <%=l(:label_news_plural)%>
<%= check_box_tag 'show_files', 1, @show_files %><%= hidden_field_tag 'show_files', 0 %> <%=l(:label_attachment_plural)%>
<%= check_box_tag 'show_documents', 1, @show_documents %><%= hidden_field_tag 'show_documents', 0 %> <%=l(:label_document_plural)%>

<%= submit_tag l(:button_apply), :class => 'button-small' %>

<%= end_form_tag %>
<% @events_by_day.keys.sort {|x,y| y <=> x }.each do |day| %>

<%= format_date(day) %>

<% end %> <% if @events_by_day.empty? %>

<%= l(:label_no_data) %>

<% end %>