From a0986c90ceac39f531151c18f98b805aa7c545db Mon Sep 17 00:00:00 2001
From: Paul van Tilburg
Date: Thu, 27 May 2010 17:24:56 +0200
Subject: [PATCH] Added some more FIXMEs.
---
anne-survey.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/anne-survey.rb b/anne-survey.rb
index 37537fa..f9d9f50 100644
--- a/anne-survey.rb
+++ b/anne-survey.rb
@@ -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