GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
507 B

  1. %h1 Feeds
  2. %table
  3. %tr
  4. %th Title
  5. %th Link
  6. %th Last fetched
  7. %th
  8. %th
  9. %th
  10. - @feeds.each do |feed|
  11. %tr
  12. %td= link_to feed.title, feed
  13. %td= link_to feed.link, feed.link
  14. %td
  15. - if feed.last_fetched.nil?
  16. never
  17. - else
  18. = time_ago_in_words feed.last_fetched
  19. ago
  20. %td= link_to 'Edit', edit_feed_path(feed)
  21. %td= link_to 'Destroy', feed, :confirm => 'Are you sure?', :method => :delete
  22. #new_feed
  23. = render 'form'