91c0cbd98a5a6d19559e6af74e5c2369243f401f
[rails.git] / app / views / note / _note.gpx.builder
1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
2   xml.desc do
3     xml.cdata! note.flatten_comment("<hr />")
4   end
5
6   xml.extension do
7     if note.status = "open"
8       xml.closed "0"
9     else
10       xml.closed "1"
11     end
12
13     xml.id note.id
14   end
15 end