Skip to content
Myr

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 file

Take it

Merge branch 'master' of git://github.com/visionmedia/expressciaranjbefore adoption046bee8

lines 1–11why, one step back
1%h1 Upload
2: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' }