Added some more FIXMEs.
This commit is contained in:
parent
57968a8e95
commit
a0986c90ce
|
@ -231,12 +231,14 @@ module Anne::Views
|
||||||
def vote(image, progress = 0)
|
def vote(image, progress = 0)
|
||||||
h2 "Welk beeld is ruimtelijker?"
|
h2 "Welk beeld is ruimtelijker?"
|
||||||
# FIXME: resize all images
|
# FIXME: resize all images
|
||||||
|
# FIXME: split all images in two parts and make it possible two select an image.
|
||||||
img :src => R(ImageX, image), :width => "80%"
|
img :src => R(ImageX, image), :width => "80%"
|
||||||
form :action => R(Vote), :method => :post do
|
form :action => R(Vote), :method => :post do
|
||||||
input :type => "hidden", :name => "image", :value => image
|
input :type => "hidden", :name => "image", :value => image
|
||||||
input :type => "submit", :name => "left", :value => "Links"
|
input :type => "submit", :name => "left", :value => "Links"
|
||||||
input :type => "submit", :name => "right", :value => "Rechts"
|
input :type => "submit", :name => "right", :value => "Rechts"
|
||||||
end
|
end
|
||||||
|
# FIXME: make a nice div with two spans of the following.
|
||||||
p "Woep, je bent al op #{progress}%!"
|
p "Woep, je bent al op #{progress}%!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Reference in New Issue