File upload with Rails 4 and Bootstrap -


It's probably a simple (?) Fixed, but I can not seem to find it. I am working on a rail site and almost finished I have a form in which the file upload field is included (using a paperclip) to optimize, I am following the following.

I have this setup, but when I select a file, the file name is not being displayed. Here's the relevant bit of code from my site:

    

CSS (currently) matches what's linked in the above linked guide. I think I need to convert : image to f.text_field to something else, but I can not understand it. Maybe it's a security thing.

No problem, I thought there was some underlying method for it. It seems that I had to add JS

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -