GeoRSS aggregator and Layar augmented reality server
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
367 B

  1. %h1 Posts#near
  2. %table
  3. %thead
  4. %tr
  5. %th
  6. %th Latitude
  7. %th Longitude
  8. %th Distance (metres)
  9. %th Published
  10. %tbody
  11. - @posts.each do |p|
  12. %tr
  13. %td= link_to p.title, p.url
  14. %td= p.lat
  15. %td= p.lon
  16. %td= p.distance.to_i
  17. %td
  18. - unless p.published.nil?
  19. = p.published.strftime("%d %b %Y %H:%M")