Skip to content
Myr

Fixed upload example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent d21afc4 · Browse files · 2 files+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−2 removed

  • other:+1 added−2 removed

2 files+1 added−2 removed

modified:examples/upload/views/upload.html.haml+1 added-2 removed
1- if (typeof images !== 'undefined')2 .images3 - each img in images4 %img{ src: img }55%h2 Singles6%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 %div.panel11 %input{ type: 'submit', value: 'Upload' }13 1213%h2 Multiple14%form{ method: 'post', enctype: 'multipart/form-data' }15 %input{ type: 'file', name: 'images[]', multiple: 'multiple' }16 %div.panel
1 unmodified line
modified:lib/support/hamlnot shown

Its text is not shown, modified.