The current versions work for me.
Example:
form :html => {:multipart => true} do |f|
f.inputs "Blog" do
f.input :blog, :as => :select
f.input :video_link
f.input :image, :as => :file, :hint =>
f.template.image_tag(f.object.image.url(:thumb))
f.input :image_cache, :as => :hidden
if f.object.image?
f.input :remove_image, :as => :boolean
end
end
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/08d8b514aff1dd3afe3d7e9150c59514%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.