upload.haml.html
This file
Path
examples/upload/views/upload.haml.html
11 lines · 344 bytes · HTML
Last changed by
Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption046bee8
History of this fileTake it
Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption046bee8
lines 1–11why, one step back1%h1 Upload2:if typeof images !== 'undefined'3 .images4 :each img in images5 %img{ src: img }6%form{ method: 'post', enctype: 'multipart/form-data' }7 %input{ type: 'file', name: 'images[0]' }8 %input{ type: 'file', name: 'images[1]' }9 %input{ type: 'file', name: 'images[2]' }10 .panel11 %input{ type: 'submit', value: 'Upload' }