Displaying 1 result from an estimated 1 matches for "allowed_extensions".
2010 Sep 21
0
Upload form with uploadify jquery plugin
...grate the uploadify plugin with a standard rails
form. However I can''t figure out how to add a new field and have it get
submitted with the file upload. I added a name field into the form, but
the valued does not get submitted.
<%
dialog_file_description = ''Photos''
allowed_extensions = [:jpg, :jpeg, :gif, :png]
max_size = 20.megabyte
allow_multiple_files = true
url = photos_path
photo_field = ''#photo_photo''
%>
<%- session_key_name = ActionController::Base.session_options[:key] -%>
<% content_for :jstemplates do -%>
<%= javascript_tag "wi...