InQusitive InQusitive - 25 days ago 7
Ruby Question

How do I browse folder using simple_form?

I want to add a file/folder browsing button in my rails application using

simple_form
gem.
How do I do it? In simple_form documentation it is not mentioned.

Answer

You would do:

f.input :somename, as: :file
Comments