diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-16 21:33:19 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-16 21:33:19 +0100 |
commit | c8f9fc901b440cb5f99fa531c6884af2b997ad97 (patch) | |
tree | 3065e5d1c41f6cc0af61045b7b6468503b6d0c85 /templates/landingpage.html.ep | |
parent | 26da2b598c92e22b6c57a391acea26d08ff4f767 (diff) |
allow manual input of station name
Closes #1
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index ece52df..fe3cd52 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -34,6 +34,18 @@ <div class="geolocation"> <div class="progress"><div class="indeterminate"></div></div> </div> + %= form_for 'list_departures' => begin + <div class="input-field text-white"> + %= text_field 'station', id => 'station', class => 'white-text', require => undef + <label for="station">Manuelle Eingabe (Name oder DS100)</label> + </div> + <div class="center-align"> + <button class="btn waves-effect waves-light btn-flat white" type="submit" name="action" value="departures"> + <i class="material-icons left">send</i> + Abfahrten + </button> + </div> + %= end </div> </div> % } |