1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
3 xml.cdata! render(:partial => "description", :object => note, :formats => [ :html ])
8 xml.url note_url(note, :format => params[:format])
11 xml.reopen_url reopen_note_url(note, :format => params[:format])
13 xml.comment_url comment_note_url(note, :format => params[:format])
14 xml.close_url close_note_url(note, :format => params[:format])
17 xml.date_created note.created_at
18 xml.status note.status
20 if note.status == "closed"
21 xml.date_closed note.closed_at