summaryrefslogtreecommitdiff
path: root/templates/edit_journey.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-07-05 18:40:23 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-07-05 18:40:23 +0200
commite5edf5b81567e1f79db64499c2ac3554d7508d81 (patch)
treed445994d53e0600832ad1f438d2dcb607f8ab77a /templates/edit_journey.html.ep
parent45771233e9db681a632aa4408cb17e379c55ff6b (diff)
parent5a65ee90d146f19999837853e8311e5b03e31af8 (diff)
Merge branch 'date-inputs' of github.com:deingithub/travelynx
Diffstat (limited to 'templates/edit_journey.html.ep')
-rw-r--r--templates/edit_journey.html.ep8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/edit_journey.html.ep b/templates/edit_journey.html.ep
index cb867e5..6316731 100644
--- a/templates/edit_journey.html.ep
+++ b/templates/edit_journey.html.ep
@@ -69,13 +69,13 @@
<tr>
<th scope="row">Geplante Abfahrt</th>
<td class="input-field">
- %= 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]'
+ %= datetime_field 'sched_departure', id => 'sched_departure', class => 'validate', required => undef
</td>
</tr>
<tr>
<th scope="row">Tatsächliche Abfahrt</th>
<td class="input-field">
- %= 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]'
+ %= datetime_field 'rt_departure', id => 'real_departure', class => 'validate'
</td>
</tr>
<tr>
@@ -87,13 +87,13 @@
<tr>
<th scope="row">Geplante Ankunft</th>
<td class="input-field">
- %= 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]'
+ %= datetime_field 'sched_arrival', id => 'sched_arrival', class => 'validate', required => undef
</td>
</tr>
<tr>
<th scope="row">Tatsächliche Ankunft</th>
<td class="input-field">
- %= 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]'
+ %= datetime_field 'rt_arrival', id => 'real_arrival', class => 'validate'
</td>
</tr>
<tr>