From 13e59b3aa1504154a90619069c963301e322904a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 18 Nov 2019 21:00:24 +0100 Subject: add journey: make realtime data optional (default to schedule data) Closes #25 --- templates/add_journey.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/add_journey.html.ep') diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep index 02f30d5..58cd68b 100644 --- a/templates/add_journey.html.ep +++ b/templates/add_journey.html.ep @@ -58,8 +58,8 @@
- %= text_field 'rt_departure', id => 'rt_departure', class => 'validate', required => undef, pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9] +[0-9][0-9]:[0-9][0-9]' - + %= text_field 'rt_departure', id => 'rt_departure', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9] +[0-9][0-9]:[0-9][0-9]' +
@@ -72,8 +72,8 @@
- %= text_field 'rt_arrival', id => 'rt_arrival', class => 'validate', required => undef, pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9] +[0-9][0-9]:[0-9][0-9]' - + %= text_field 'rt_arrival', id => 'rt_arrival', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9] +[0-9][0-9]:[0-9][0-9]' +
-- cgit v1.2.3