From 12cd3b9a561242ab04fba71dfd1a23b006bd7ee7 Mon Sep 17 00:00:00 2001 From: Kieran Pilkington Date: Mon, 13 Oct 2008 15:27:19 +1300 Subject: [PATCH] bugfix: when a text based captcha failed, it would leave an aditional div closing tag, causing an xml parsing error --- app/views/account/signup.rhtml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/account/signup.rhtml b/app/views/account/signup.rhtml index 76d527e42..462954d18 100644 --- a/app/views/account/signup.rhtml +++ b/app/views/account/signup.rhtml @@ -51,13 +51,11 @@

or use a <%= link_to 'non-image security question', :captcha_type => 'question' -%>

<% end -%> -
<% elsif @captcha_type == 'question' -%> <%= render :partial => '/captcha' %> <% end -%>
-
<%= f.check_box :agree_to_terms %> I agree that I have read and accept the <%= link_to_remote("Terms and conditions", :update => 'disclaimer', :url => { :action => :disclaimer, :id => 4 }) %>,