Skip to content

Instantly share code, notes, and snippets.

@bbeaumont
Created July 1, 2013 22:28
Show Gist options
  • Select an option

  • Save bbeaumont/5905194 to your computer and use it in GitHub Desktop.

Select an option

Save bbeaumont/5905194 to your computer and use it in GitHub Desktop.

Revisions

  1. bbeaumont created this gist Jul 1, 2013.
    9 changes: 9 additions & 0 deletions testform.jade
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    extends layout

    block content
    h1 title
    form(action='/submitform', method='post', enctype="multipart/form-data")
    label(for='myinput') Input
    input(name='myinput',id='myinput',type='text')
    input(type="file", name="jsonfile")
    input(type='submit',value='Submit')