|
|
@ -5,12 +5,6 @@
|
|
|
|
<%= form_tag({:controller => 'calendars', :action => 'show', :project_id => @project},
|
|
|
|
<%= form_tag({:controller => 'calendars', :action => 'show', :project_id => @project},
|
|
|
|
:method => :get, :id => 'query_form') do %>
|
|
|
|
:method => :get, :id => 'query_form') do %>
|
|
|
|
<%= hidden_field_tag 'set_filter', '1' %>
|
|
|
|
<%= hidden_field_tag 'set_filter', '1' %>
|
|
|
|
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
|
|
|
|
|
|
|
|
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
|
|
|
|
|
|
|
|
<div style="<%= @query.new_record? ? "" : "display: none;" %>">
|
|
|
|
|
|
|
|
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<p style="float:right;">
|
|
|
|
<p style="float:right;">
|
|
|
|
<%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
|
|
|
|
<%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|