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.

_form.html.haml 598 B

12 years ago
12 years ago
12 years ago
12 years ago
123456789101112131415161718192021222324
  1. = form_for @feed do |f|
  2. %h2 Add a feed
  3. -if @feed.errors.any?
  4. #error_explanation
  5. %h2= "#{pluralize(@feed.errors.count, "error")} prohibited this feed from being saved:"
  6. %ul
  7. - @feed.errors.full_messages.each do |msg|
  8. %li= msg
  9. .field
  10. -#
  11. = f.label :title
  12. = f.text_field :title
  13. .field
  14. = f.label "URL"
  15. = f.text_field :feed_url, :size => 120
  16. = f.hidden_field :new_layer_id, :value => @feed.new_layer_id
  17. = f.submit 'Save', :id => 'submit'
  18. -#
  19. .field
  20. = f.label :last_fetched
  21. = f.datetime_select :last_fetched
  22. .actions