Merge branch 'master' into notes
[rails.git] / app / views / notes / _note.gpx.builder
1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
2   xml.desc do
3     xml.cdata! render(:partial => "description", :object => note, :formats => [ :html ])
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