summaryrefslogtreecommitdiff
path: root/templates/add_journey.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/add_journey.html.ep')
-rw-r--r--templates/add_journey.html.ep8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep
index 9ef00f5..e07f78f 100644
--- a/templates/add_journey.html.ep
+++ b/templates/add_journey.html.ep
@@ -30,6 +30,10 @@
</div>
<div class="row">
<div class="input-field col s12">
+ %= text_field 'dep_station', id => 'dep_station', class => 'autocomplete validate', required => undef
+ <label for="dep_station">Startbahnhof (Name oder DS100)</label>
+ </div>
+ <div class="input-field col s12">
%= 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]'
<label for="sched_departure">Geplante Abfahrt</label>
</div>
@@ -40,6 +44,10 @@
</div>
<div class="row">
<div class="input-field col s12">
+ %= text_field 'arr_station', id => 'arr_station', class => 'autocomplete validate', required => undef
+ <label for="arr_station">Zielbahnhof (Name oder DS100)</label>
+ </div>
+ <div class="input-field col s12">
%= 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]'
<label for="sched_arrival">Geplante Ankunft</label>
</div>