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.

_icon_form.html.haml 594 B

123456789101112131415161718192021
  1. %h1 Custom feed icon
  2. %p
  3. Layer:
  4. = link_to @subscription.layer.name, @subscription.layer
  5. %p Specify the URL for an icon (JPG or PNG image) and it'll display for all posts in this feed in Layar.
  6. = form_for @subscription do |f|
  7. -if @subscription.errors.any?
  8. #error_explanation
  9. %h2= "#{pluralize(@subscription.errors.count, "error")} prohibited this feed from being saved:"
  10. %ul
  11. - @subscription.errors.full_messages.each do |msg|
  12. %li= msg
  13. .field
  14. = f.label "Icon URL"
  15. = f.text_field :icon_url, :size => 120
  16. = f.submit 'Save', :id => 'submit'