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.
 
 
 
 
 

17 lines
483 B

  1. = form_for @subscription do |f|
  2. %h2 Add a feed
  3. -if @subscription.errors.any?
  4. #error_explanation
  5. %h2= "#{pluralize(@subscription.errors.count, "error")} prohibited this feed from being saved:"
  6. %ul
  7. - @subscription.errors.full_messages.each do |msg|
  8. %li= msg
  9. .field
  10. = f.label "URL"
  11. = f.text_field :feed_url, :size => 120
  12. = f.hidden_field :layer_id, :value => @subscription.layer.id
  13. = f.submit 'Save', :id => 'submit'
  14. .actions