diff options
author | Cassidy Dingenskirchen <admin@15318.de> | 2025-06-29 16:47:53 +0200 |
---|---|---|
committer | Cassidy Dingenskirchen <admin@15318.de> | 2025-06-29 16:47:53 +0200 |
commit | 7ac6d22b4faee90e98589fb827708a84f6e77bfc (patch) | |
tree | 2864f6657f3f3c9dd0a81e746e61f08b9046633f /templates/history_map.html.ep | |
parent | 02a6b9072d16c521142f04f5dd4a316aa269a5de (diff) |
/history/map: date inputs
Diffstat (limited to 'templates/history_map.html.ep')
-rw-r--r-- | templates/history_map.html.ep | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index c2ff9ed..6620cb2 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -88,14 +88,14 @@ </p> <div class="row"> <div class="input-field col s12"> - %= text_field 'filter_from', id => 'filter_from', 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="filter_from">Abfahrt ab (DD.MM.YYYY)</label> + %= date_field 'filter_from', id => 'filter_from', class => 'validate' + <label for="filter_from" class="active">Abfahrt ab</label> </div> </div> <div class="row"> <div class="input-field col s12"> - %= text_field 'filter_to', id => 'filter_to', 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="filter_to">Abfahrt bis (DD.MM.YYYY)</label> + %= date_field 'filter_to', id => 'filter_to', class => 'validate' + <label for="filter_to" class="active">Abfahrt bis</label> </div> </div> <div class="row"> |