Skip to content

Commit

Permalink
bugfix: when a text based captcha failed, it would leave an aditional…
Browse files Browse the repository at this point in the history
… div closing tag, causing an xml parsing error
  • Loading branch information
Kieran Pilkington committed Oct 13, 2008
1 parent 858f79e commit 12cd3b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/account/signup.rhtml
Expand Up @@ -51,13 +51,11 @@
<p>or use a <%= link_to 'non-image security question', :captcha_type => 'question' -%></p>
</div>
<% end -%>
<div style="float: left">
<% elsif @captcha_type == 'question' -%>
<%= render :partial => '/captcha' %>
<% end -%>
</div>

</div>
<div class="form-element">
<%= 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 }) %>,
Expand Down

0 comments on commit 12cd3b9

Please sign in to comment.