|
- = form_for @feed do |f|
- %h2 Add a feed
-
- -if @feed.errors.any?
- #error_explanation
- %h2= "#{pluralize(@feed.errors.count, "error")} prohibited this feed from being saved:"
- %ul
- - @feed.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label "URL"
- = f.text_field :feed_url, :size => 120
- = f.submit 'Save', :id => 'submit'
- .actions
|