diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-03-09 18:56:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-03-09 18:56:35 +0100 |
commit | 476b02157b9520f1c80a8393c86e7111508c90c7 (patch) | |
tree | 6777c8f2f69394175dc862048450d26258ab741b /templates | |
parent | 15e0126d8e71df188604ec0bfba245155d1e3beb (diff) |
station dropdown: use legible station names, not codes0.02
Diffstat (limited to 'templates')
-rw-r--r-- | templates/barform.html.ep | 8 | ||||
-rw-r--r-- | templates/topform.html.ep | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/barform.html.ep b/templates/barform.html.ep index 0b8b82d..7aa329e 100644 --- a/templates/barform.html.ep +++ b/templates/barform.html.ep @@ -34,7 +34,7 @@ Optionale Einschränkungen: Linie: </div> <div> - %= select_field filter_line => [map {[$_, $_]} @{$filter_opts->{lines}} ] + %= select_field filter_line => $filter_opts->{lines} </div> </div> <div class="field"> @@ -42,7 +42,7 @@ Optionale Einschränkungen: Zugtyp: </div> <div> - %= select_field filter_train_type => [map {[$_, $_]} @{$filter_opts->{train_types}} ] + %= select_field filter_train_type => $filter_opts->{train_types} </div> </div> <div class="field"> @@ -50,7 +50,7 @@ Optionale Einschränkungen: Bahnhof: </div> <div> - %= select_field filter_station => [map {[$_, $_]} @{$filter_opts->{stations}} ] + %= select_field filter_station => $filter_opts->{stations} </div> </div> <div class="field"> @@ -58,7 +58,7 @@ Optionale Einschränkungen: Zielbahnhof: </div> <div> - %= select_field filter_destination => [map {[$_, $_]} @{$filter_opts->{destinations}} ] + %= select_field filter_destination => $filter_opts->{destinations} </div> </div> <div class="field"> diff --git a/templates/topform.html.ep b/templates/topform.html.ep index f92c283..ee2e784 100644 --- a/templates/topform.html.ep +++ b/templates/topform.html.ep @@ -8,7 +8,7 @@ Die Einschränkungen sind alle optional. Linie: </div> <div> - %= select_field filter_line => [map {[$_, $_]} @{$filter_opts->{lines}} ] + %= select_field filter_line => $filter_opts->{lines} </div> </div> <div class="field"> @@ -16,7 +16,7 @@ Die Einschränkungen sind alle optional. Zugtyp: </div> <div> - %= select_field filter_train_type => [map {[$_, $_]} @{$filter_opts->{train_types}} ] + %= select_field filter_train_type => $filter_opts->{train_types} </div> </div> <div class="field"> @@ -24,7 +24,7 @@ Die Einschränkungen sind alle optional. Bahnhof: </div> <div> - %= select_field filter_station => [map {[$_, $_]} @{$filter_opts->{stations}} ] + %= select_field filter_station => $filter_opts->{stations} </div> </div> <div class="field"> @@ -32,7 +32,7 @@ Die Einschränkungen sind alle optional. Zielbahnhof: </div> <div> - %= select_field filter_destination => [map {[$_, $_]} @{$filter_opts->{destinations}} ] + %= select_field filter_destination => $filter_opts->{destinations} </div> </div> <div class="field"> |