From b80613b8a8dad252960d90f6a03227503e2ba133 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 19 Nov 2019 19:46:21 +0100 Subject: allow route input when adding journeys manually (#26) --- templates/add_journey.html.ep | 6 ++++++ templates/journey.html.ep | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'templates') diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep index 58cd68b..c3bc01c 100644 --- a/templates/add_journey.html.ep +++ b/templates/add_journey.html.ep @@ -76,6 +76,12 @@ +
+
+ %= text_area 'route', id => 'route', class => 'materialize-textarea' + +
+
%= text_field 'comment' diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 9b7ad9c..7be4f78 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -113,6 +113,9 @@ % else { ? % } + % if ($journey->{edited} & 0x0010) { + ∗ + % } @@ -174,6 +177,9 @@ % else { <%= $station->[0] %> % } + % if ($journey->{edited} & 0x0010) { + ∗ + % }
% } -- cgit v1.2.3