GeoRSS aggregator and Layar augmented reality server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

21 行
487 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; maximum 100px wide by 75px high)"
  15. %br
  16. = f.text_field :icon_url, :size => 60
  17. %br
  18. .actions
  19. = f.submit 'Save'