diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-27 18:26:15 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-27 18:26:15 +0100 |
commit | 0e2e8cd78ef8dce5bed07187d3cda09dc2c5a103 (patch) | |
tree | fee5f712395856cd97a0fe62feb6f682704c2cdc /templates/history_map.html.ep | |
parent | 5e03718f14e9d8888a3bd0407828abf01beeda96 (diff) |
history map: Add checkbox to display manually added journeys
Diffstat (limited to 'templates/history_map.html.ep')
-rw-r--r-- | templates/history_map.html.ep | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 97b2276..7bda06b 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -10,11 +10,22 @@ </div> %= include '_map', station_coordinates => $station_coordinates, station_pairs => $station_pairs -% -<div class="row"> - <div class="col s12"> - Bei Zugfahrten mit inkonsistenten Reisedaten und manuellen Einträgen - werden derzeit nur Start- und Zielbahnhof ohne Luftlinie dazwischen - angezeigt. + +%= form_for '/history/map' => (method => 'POST') => begin + %= csrf_field + <div class="row"> + <div class="input-field col s12"> + <label> + %= check_box include_manual => 1 + <span>Manuelle Einträge ohne Unterwegshalte mitberücksichtigen</span> + </label> + </div> </div> -</div> + <div class="row"> + <div class="col s12 center-align"> + <button class="btn wave-effect waves-light" type="submit" name="action" value="go"> + Anzeigen + </button> + </div> + </div> +%= end |