summaryrefslogtreecommitdiff
path: root/templates/history_map.html.ep
blob: 7bda06b46a5426b6a7bfe0f7ab7adb07bd9f3757 (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, station_pairs => $station_pairs

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