<%=l(:label_activity)%>

<%= start_form_tag %>

From <%= text_field_tag 'date_from', @date_from, :size => 10, :class => 'button-small' %> and <%= text_field_tag 'days_back', @days_back, :size => 2, :class => 'button-small' %> days back

<%= 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 %>