summaryrefslogtreecommitdiff
path: root/templates/barform.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/barform.html.ep')
-rw-r--r--templates/barform.html.ep47
1 files changed, 1 insertions, 46 deletions
diff --git a/templates/barform.html.ep b/templates/barform.html.ep
index 7aa329e..50ae5fc 100644
--- a/templates/barform.html.ep
+++ b/templates/barform.html.ep
@@ -27,51 +27,6 @@ x
Pixel.
%= submit_button 'Go'
<br/>
-% my $filter_opts = $self->barplot_filters;
Optionale Einschränkungen:
-<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>