diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-03-27 16:23:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-03-27 16:23:37 +0100 |
commit | 644248474333ed76b999a6c9a7278a5949773418 (patch) | |
tree | 1ee3b96d20774d1cffbd5025f0e99fe9a38163d8 /templates/topform.html.ep | |
parent | 219a651785f2391fd96cb54a592c838ef81de93d (diff) |
move query filters to filterform template
Diffstat (limited to 'templates/topform.html.ep')
-rw-r--r-- | templates/topform.html.ep | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/templates/topform.html.ep b/templates/topform.html.ep index ee2e784..cb35c2f 100644 --- a/templates/topform.html.ep +++ b/templates/topform.html.ep @@ -1,51 +1,6 @@ <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> +%= include 'filterform'; % end -<div> |