search for: add_image_upload_field

Displaying 2 results from an estimated 2 matches for "add_image_upload_field".

2006 Mar 05
2
How to clean up this code?
...{:controller => ''image'', :action => ''destroy'', :id => image.id}, :confirm => "Are you sure?") %> </div> <% end %> <% end %> <%=link_to_function ''add image'', ''add_image_upload_field(image_field_number); image_field_number++;'', :id => "add_image" %> ------------------------------------------------------------ --- add_image_upload_field js function ---------- function add_image_upload_field(id) { var image_field = ''<input type="file&...
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get