Skip to content

Instantly share code, notes, and snippets.

@tonywok
Created August 2, 2009 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonywok/160124 to your computer and use it in GitHub Desktop.
Save tonywok/160124 to your computer and use it in GitHub Desktop.
!!!
%html
%h1
Multiple Files Upload Using Rails and JQuery
%h3
Files
- form_tag(:action => '/services/uploadr', :method => :post, :multipart => true)
= text_field_tag 'name'
= submit_tag 'Submit'
compile error
/Users/tony/dev/tonys_blog/app/views/upload/upload_file.html.haml:11: syntax error, unexpected kENSURE, expecting $end
Extracted source (around line #11):
8: = text_field_tag 'name'
9: = submit_tag 'Submit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment