Skip to content

Instantly share code, notes, and snippets.

@yuanfeiz
Created April 5, 2012 09:14
Show Gist options
  • Save yuanfeiz/2309407 to your computer and use it in GitHub Desktop.
Save yuanfeiz/2309407 to your computer and use it in GitHub Desktop.
%form{:action=>"/upload",:method=>"post",:enctype=>"multipart/form-data"}
%input{:type=>"file",:name=>"file"}
%input{:type=>"submit",:value=>"Upload"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment