File: archive.rhtml

package info (click to toggle)
haskell-skylighting-core 0.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,440 kB
  • sloc: xml: 118,808; haskell: 3,117; cs: 72; ada: 67; java: 37; ansic: 32; cpp: 31; php: 25; tcl: 19; lisp: 14; perl: 11; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<h1>Event Archive</h1>


<% form_for :to_date, @to_date, :url => {:action => 'archive'} do |f| %>
  <p><label for="start_date">From</label>
  <%= select_date @from_date, :prefix => 'from' %>
  <label for="end_date">To</label>
  <%= select_date @to_date, :prefix => 'to', :start_year => 2000 %></p>
  <p><label for="event_series">Series</label>
  <%= select_tag "series", options_for_select(series_list('All'), @series) %>
  <%= f.submit 'Show events' %>
  </p>
<% end %>

<ul>
<%
if @events
%>
  <%= render :partial => 'events' %>
<%
end
%>
</ul>