From eb3f4aed05d31509e0544ff29b382759ba31b9c2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Feb 2020 16:15:20 +0100 Subject: allow checkin and checkout station to be edited --- templates/edit_journey.html.ep | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'templates/edit_journey.html.ep') diff --git a/templates/edit_journey.html.ep b/templates/edit_journey.html.ep index 0eb8a99..c9aaa64 100644 --- a/templates/edit_journey.html.ep +++ b/templates/edit_journey.html.ep @@ -60,39 +60,51 @@ + + Start: + + %= text_field 'from_name', id => 'from_name', class => 'autocomplete validate', required => undef + + Geplante Abfahrt - + %= text_field 'sched_departure', id => 'sched_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]' Tatsächliche Abfahrt - + %= text_field 'rt_departure', id => 'real_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]' + + Ziel: + + %= text_field 'to_name', id => 'to_name', class => 'autocomplete validate', required => undef + + Geplante Ankunft - + %= text_field 'sched_arrival', id => 'sched_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]' Tatsächliche Ankunft - + %= text_field 'rt_arrival', id => 'real_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]' Route - + %= text_area 'route', id => 'route', class => 'materialize-textarea' Kommentar - + %= text_field 'comment' -- cgit v1.2.3