GeoRSS aggregator and Layar augmented reality server
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_form.html.haml 339 B

12345678910111213
  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. = f.text_field :name
  11. .actions
  12. = f.submit 'Save'