<%= link_to_favourite(@project) -%> Version <%= @snapshot.version -%> - <%= l @snapshot.created_at %>
<% if @snapshot.project_snapshot.periods? %>
-
- <form method="GET" action="<%= url_for :only_path=>true, :overwrite_params => {:period => nil} -%>" style="display: inline">
+ <form method="GET" action="<%= url_for :controller => 'dashboard', :action => 'index', :id => @resource.id -%>" style="display: inline">
+ <input type="hidden" name="did" value="<%= @dashboard.id -%>" />
<select id="select-comparison" name="period" onchange="submit()" class="small">
<option value="">Time changes...</option>
<%= period_select_options(@snapshot, 1) -%>