|
1234567891011121314151617181920212223 |
- = 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 :title
- = f.text_field :title
- .field
- = f.label "URL"
- = f.text_field :feed_url, :size => 120
- = f.submit 'Save'
- -#
- .field
- = f.label :last_fetched
- = f.datetime_select :last_fetched
- .actions
|