diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-24 21:26:00 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-24 21:26:00 +0200 |
commit | d313ca7fc1113e0e4a66415a000de27d8e5a3e81 (patch) | |
tree | ab1336ac1f6b21ad95bc7956a337983542949334 /templates/disambiguation.html.ep | |
parent | d23283329df18171fbc0f965d42c9af37c175084 (diff) |
resolve unknown/ambiguous stop into list of stops
Diffstat (limited to 'templates/disambiguation.html.ep')
-rw-r--r-- | templates/disambiguation.html.ep | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/disambiguation.html.ep b/templates/disambiguation.html.ep new file mode 100644 index 0000000..270aa99 --- /dev/null +++ b/templates/disambiguation.html.ep @@ -0,0 +1,20 @@ +<div class="row"> + <div class="col s12"> + <div class="card info-color"> + <div class="card-content"> + <span class="card-title">Mehrdeutige Eingabe</span> + <p>„<%= $station %>“ ist nicht eindeutig. Bitte wähle eine der folgenden Optionen aus.</p> + </div> + </div> + </div> +</div> + +<div class="row"> + <div class="col s12"> + <ul class="suggestions"> + % for my $suggestion (@{$suggestions // []}) { + <li><a href="<%= url_for('station' => $suggestion->{eva}) . (param('hafas') ? '?hafas=1' : q{}) %>"><%= $suggestion->{name} %></a></li> + % } + </ul> + </div> +</div> |