From c8f9fc901b440cb5f99fa531c6884af2b997ad97 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Mar 2019 21:33:19 +0100 Subject: allow manual input of station name Closes #1 --- templates/landingpage.html.ep | 12 ++++++++++++ templates/layouts/default.html.ep | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'templates') 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 @@
+ %= form_for 'list_departures' => begin +
+ %= text_field 'station', id => 'station', class => 'white-text', require => undef + +
+
+ +
+ %= end % } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 90af0a4..36995ba 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -5,7 +5,7 @@ - % my $av = 'v2'; # asset version + % my $av = 'v3'; # asset version %= stylesheet "/static/${av}/css/materialize.min.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/local.css" -- cgit v1.2.3