diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-11-18 21:00:24 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-11-18 21:02:57 +0100 |
commit | 13e59b3aa1504154a90619069c963301e322904a (patch) | |
tree | 83a8e98f631071d1b74672aed6afc7178e69aa27 /templates | |
parent | ff2a3afe34d47e3880c7a91e570dd0d3f4d75373 (diff) |
add journey: make realtime data optional (default to schedule data)1.10.1
Closes #25
Diffstat (limited to 'templates')
-rw-r--r-- | templates/add_journey.html.ep | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <label for="sched_departure">Geplante Abfahrt</label> </div> <div class="input-field col s12"> - %= 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]' - <label for="rt_departure">Tatsächliche Abfahrt</label> + %= 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]' + <label for="rt_departure">Tatsächliche Abfahrt (wenn leer: pünktlich)</label> </div> </div> <div class="row"> @@ -72,8 +72,8 @@ <label for="sched_arrival">Geplante Ankunft</label> </div> <div class="input-field col s12"> - %= 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]' - <label for="rt_arrival">Tatsächliche Ankunft</label> + %= 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]' + <label for="rt_arrival">Tatsächliche Ankunft (wenn leer: pünktlich)</label> </div> </div> <div class="row"> |