% if ($city and $stop) { % } % else {

VRR-Fakedisplay shows the next departures at a public transit stop, just like the Lumino LED displays used at some stops.

It works best for the VRR (Verkehrsverbund Rhein-Ruhr), but also supports most other German transit networks.

% }
<% if (my $error = stash 'error') { %>

Error: <%= $error %>

<% } %> <%= form_for _redirect => begin %>
City → Stop
<%= text_field 'city' %> <%= text_field 'stop' %> <%= submit_button 'Display' %>
optional:
display height [1..10]
<%= text_field 'no_lines' %>
min. offset [minutes]
<%= text_field 'offset' %>
match line prefix
<%= text_field 'line' %>
match platform
<%= text_field 'platform' %>
backend
<%= select_field backend => [['EFA (VRR)' => 'vrr'], ['HAFAS (DB)' => 'db']] %>
<% end %>
notes:
vrr-fakedisplay v<%= $version %>