I am using this application example and try to model it to fit my needs.
I am modelling your index.html.erb to fit my needs.
I want to get rid of “start” button in order to prevent single-file upload (I dont want it), but it seems that “start upload”(multiple upload)-button is on “start” button dependent and I could not find how to modify the script in order to get rid of “start”-buttom but to keep the functionality of a “start upload” -button.
Can you give me some hints how to get rid of those dependencies?
Hier is the short code cut-off:
I have marked the lines where “start upload” and “start” buttons are situated with !!!.
Upload file
<%= form_for Upload.new, :html => { :multipart => true, :id => “fileupload” } do |f| %>
Add files…
<%= f.file_field :upload %>
!!! Start upload
Cancel upload
Delete
<% end %>
Thank you.
Cheers, Katja