blob: ee2e784eb2027fb5cd626aed87b4f44630dafe80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<div>
%= form_for top => begin
% my $filter_opts = $self->barplot_filters;
Nach Häufigkeit sortierte Verspätungs- und Qualitätsmeldungen.
Die Einschränkungen sind alle optional.
<div class="field">
<div class="desc">
Linie:
</div>
<div>
%= select_field filter_line => $filter_opts->{lines}
</div>
</div>
<div class="field">
<div class="desc">
Zugtyp:
</div>
<div>
%= select_field filter_train_type => $filter_opts->{train_types}
</div>
</div>
<div class="field">
<div class="desc">
Bahnhof:
</div>
<div>
%= select_field filter_station => $filter_opts->{stations}
</div>
</div>
<div class="field">
<div class="desc">
Zielbahnhof:
</div>
<div>
%= select_field filter_destination => $filter_opts->{destinations}
</div>
</div>
<div class="field">
<div class="desc">
Verspätung zwischen
</div>
<div>
%= text_field 'filter_delay_min', class => 'delay', placeholder => '-∞'
und
%= text_field 'filter_delay_max', class => 'delay', placeholder => '+∞'
Minuten (inklusive).
%= submit_button 'Go'
</div>
</div>
% end
<div>
|