Skip to content
Myr

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 file

Take it

Merge branch 'better-haml'visionmediabefore adoptionbdf9f88

line 1why, one step back
1- if (typeof images !== 'undefined')

Merge branch 'flip-views'visionmediabefore adoption6b13fc9

line 2why, one step back
2 .images

Merge branch 'better-haml'visionmediabefore adoptionbdf9f88

line 3why, one step back
3 - each img in images

Merge branch 'flip-views'visionmediabefore adoption6b13fc9

lines 4–10why, one step back
4 %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 back
11 %div.panel

Merge branch 'flip-views'visionmediabefore adoption6b13fc9

lines 12–16why, one step back
12 %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 back
17 %div.panel

Merge branch 'flip-views'visionmediabefore adoption6b13fc9

line 18why, one step back
18 %input{ type: 'submit', value: 'Upload' }