From 3ae3dd4336a545128f77701be79ce0a5bc8c04cd Mon Sep 17 00:00:00 2001 From: Bram Senders Date: Tue, 18 May 2010 16:02:48 +0200 Subject: [PATCH] Image width to 80%, as requested by Anne. --- anne-survey.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anne-survey.rb b/anne-survey.rb index 96329bc..aabbbe9 100644 --- a/anne-survey.rb +++ b/anne-survey.rb @@ -151,6 +151,7 @@ module Anne::Views end def intro + h2 "Fill out this survey and win your FREE dosage of generic Vi8gra!" p "Lalala! [Introtekst hier]" p "(Jij bent #{@env["REMOTE_ADDR"]})" a "Start de enquĂȘte", :href => R(Start) @@ -181,7 +182,7 @@ module Anne::Views def vote(image, progress = 0) h2 "Welk beeld is ruimtelijker?" - img :src => R(ImageX, image), :width => 640 + img :src => R(ImageX, image), :width => "80%" form :action => R(VoteN, @user_id), :method => :post do input :type => "hidden", :name => "image", :value => image input :type => "submit", :name => "left", :value => "Links"