<% content_for :sidebar do %>
<%= form_tag({}, :method => :get, :id => 'activity_scope_form') do %>
<h3><%= l(:label_activity) %></h3>
+<p>
+ <%= t(:label_days_to_html, :days => @days, :date => date_field_tag('from', '', :value => (@date_to - 1), :size => 10)) %>
+ <%= calendar_for('from') %>
+</p>
<ul>
<% @activity.event_types.each do |t| %>
<li>
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
<% end %>
<%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
-<%= hidden_field_tag('from', params[:from]) unless params[:from].blank? %>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => 'submit' %></p>
<% end %>
<% end %>
label_ascending: Ascending
label_descending: Descending
label_date_from_to: From %{start} to %{end}
+ label_days_to_html: "%{days} days up to %{date}"
label_wiki_content_added: Wiki page added
label_wiki_content_updated: Wiki page updated
label_group: Group
label_ascending: 昇順
label_descending: 降順
label_date_from_to: "%{start}から%{end}まで"
+ label_days_to_html: "%{date} までの%{days}日間"
label_wiki_content_added: Wikiページの追加
label_wiki_content_updated: Wikiページの更新
label_group: グループ