Added some more FIXMEs.

This commit is contained in:
Paul van Tilburg 2010-05-27 17:24:56 +02:00
parent 57968a8e95
commit a0986c90ce
1 changed files with 2 additions and 0 deletions

View File

@ -231,12 +231,14 @@ module Anne::Views
def vote(image, progress = 0)
h2 "Welk beeld is ruimtelijker?"
# 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%"
form :action => R(Vote), :method => :post do
input :type => "hidden", :name => "image", :value => image
input :type => "submit", :name => "left", :value => "Links"
input :type => "submit", :name => "right", :value => "Rechts"
end
# FIXME: make a nice div with two spans of the following.
p "Woep, je bent al op #{progress}%!"
end