Skip to content

Instantly share code, notes, and snippets.

@RSpace
Created March 26, 2009 13:33
Show Gist options
  • Save RSpace/86090 to your computer and use it in GitHub Desktop.
Save RSpace/86090 to your computer and use it in GitHub Desktop.
<%= render :partial => '/shared/upload_with_feedback', :locals => { :f => f,
:url => assets_path,
:dialog_file_description => 'Photos',
:allowed_extensions => [:jpg, :jpeg, :gif, :png],
:allow_multiple_files => true,
:max_size => 20.megabyte
} %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment