upload.html.haml
This file
Path
examples/upload/views/upload.html.haml
18 lines · 552 bytes
Last changed by
Merge branch 'better-haml'visionmediabefore adoptionbdf9f88
History of this fileTake it
Merge branch 'better-haml'visionmediabefore adoptionbdf9f88
line 1why, one step back1- if (typeof images !== 'undefined')Merge branch 'flip-views'visionmediabefore adoption6b13fc9
line 2why, one step back2 .imagesMerge branch 'better-haml'visionmediabefore adoptionbdf9f88
line 3why, one step back3 - each img in imagesMerge branch 'flip-views'visionmediabefore adoption6b13fc9
lines 4–10why, one step back4 %img{ src: img }56%h2 Singles7%form{ method: 'post', enctype: 'multipart/form-data' }8 %input{ type: 'file', name: 'images[0]' }9 %input{ type: 'file', name: 'images[1]' }10 %input{ type: 'file', name: 'images[2]' }Merge branch 'better-haml'visionmediabefore adoptionbdf9f88
line 11why, one step back11 %div.panelMerge branch 'flip-views'visionmediabefore adoption6b13fc9
lines 12–16why, one step back12 %input{ type: 'submit', value: 'Upload' }13 14%h2 Multiple15%form{ method: 'post', enctype: 'multipart/form-data' }16 %input{ type: 'file', name: 'images[]', multiple: 'multiple' }Merge branch 'better-haml'visionmediabefore adoptionbdf9f88
line 17why, one step back17 %div.panelMerge branch 'flip-views'visionmediabefore adoption6b13fc9
line 18why, one step back18 %input{ type: 'submit', value: 'Upload' }