<%= render :partial => 'abfrage_head' %>
<%= form_tag({:action => "bula"}) %>
<%= '<br /><span style="color:red">'+flash[:notice]+'</span>' if flash[:notice]%>
<input type="hidden" name="origin" value="years" />
<table border="0">
  <tr>
    <td>Welche Jahre sollen verglichen werden?</td>
    <td>
      <% 2007.step(Date.today.year, 1) do |jahr| %>
        <%= check_box_tag 'jahr[]', jahr.to_s, @preselected_years.include?(jahr) %> <%= jahr %><br />
      <% end %>
    </td>
  </tr>
  
</table>

<p>
  <button type="submit">
    <%= image_tag('16-em-check.png',{:border => 0}) %>
  </button>
  <button type="button" onclick="window.location='<%= url_for :controller => :start, :action => "index" %>'">
    <%= image_tag('16-em-cross.png',{:border => 0}) %>
  </button>
</p>
