summaryrefslogtreecommitdiff
path: root/templates/history_map.html.ep
blob: 747912ffced593bdae71ac1b62cc72f62c227684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<div class="row">
	<div class="col s12">
		% if (@{$station_coordinates}) {
			Alle bisherigen Zugfahrten
		% }
		% else {
			Keine Zugfahrten gefunden.
		% }
	</div>
</div>

%= include '_map', station_coordinates => $station_coordinates, polyline_groups => $polyline_groups

%= 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 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