Skip to content

Commit

Permalink
Original version of sign up form worked better (with 90% confidence)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Oct 5, 2012
1 parent 6c95315 commit 333cbe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 2 additions & 9 deletions app/views/applications/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,9 @@
#sidebar
#alert
= semantic_form_for @alert do |f|
- if ab_test(:home_address)
- @alert.address = nil
%p Find out what's happening in your area. Get alerts of new applications near you straight in your email. It's free!
- else
= render :partial => "alerts/signup_introduction"
= render :partial => "alerts/signup_introduction"
= f.inputs do
- if ab_test(:home_address)
= f.input :address, :label => "Enter a street address", :placeholder => "Enter a street address"
- else
= f.input :address, :label => "Enter a street address", :hint => "Or enter another street address - for example, your home address", :placeholder => "Enter a street address"
= f.input :address, :label => "Enter a street address", :hint => "Or enter another street address - for example, your home address", :placeholder => "Enter a street address"
= f.input :email, :label => "Enter your email address", :placeholder => "Enter your email address"
= f.actions do
= f.action :submit, :label => "Create Alert"
Expand Down
4 changes: 0 additions & 4 deletions experiments/home_address.rb

This file was deleted.

0 comments on commit 333cbe4

Please sign in to comment.