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.
 
 
 
 
 

21 rivejä
454 B

  1. = form_for @layer do |f|
  2. - if @layer.errors.any?
  3. #error_explanation
  4. %h2= "#{pluralize(@layer.errors.count, "error")} prohibited this layer from being saved:"
  5. %ul
  6. - @layer.errors.full_messages.each do |msg|
  7. %li= msg
  8. .field
  9. = f.label :name
  10. %br
  11. = f.text_field :name
  12. %br
  13. .field
  14. = f.label "Icon URL (optional)"
  15. %br
  16. = f.text_field :icon_url, :size => 60
  17. %br
  18. .actions
  19. = f.submit 'Save'