Skip to content
This repository has been archived by the owner on Mar 13, 2019. It is now read-only.

Commit

Permalink
suggestions from the copy writer
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Oct 31, 2010
1 parent 52cbe5b commit 7d67b44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 3 additions & 5 deletions app/views/guesses/_form.html.haml
@@ -1,11 +1,9 @@
Here's your headline: = "\"" + @headline.text.chomp!("\s") + "\""
.clear .clear
= @headline.text Which TechCrunch scribe wrote that headline?
.clear
What's your hunch?
.clear .clear
= form_for @guess, :as => :guess, :url => { :action => :create } do |f| = form_for @guess, :as => :guess, :url => { :action => :create } do |f|
= f.hidden_field(:headline_id, { :value => @headline.id }) = f.hidden_field(:headline_id, { :value => @headline.id })
= f.collection_select(:author_id, Author.all, :id, :name) = f.collection_select(:author_id, Author.all, :id, :name)
.clear .clear
= f.submit "Crunch that hunch!" = f.submit "Crunch your hunch!"
7 changes: 5 additions & 2 deletions app/views/guesses/wrong.html.haml
@@ -1,7 +1,10 @@
%embed{ :src => "/sounds/sadlaura.wav", :autostart => "true", :loop => "false", :width => "1", :height => "0" } %embed{ :src => "/sounds/sadlaura.wav", :autostart => "true", :loop => "false", :width => "1", :height => "0" }
Nooooooo! Laura is sad. Nooooooo! Wrong answers make Laura sad.
.clear .clear
%img{ :src => "/images/laura.jpg" } %img{ :src => "/images/laura.jpg" }
.clear .clear
%a{ :href => root_path } %a{ :href => root_path }
Try another one Try another one
.clear
%a{ :href => "javascript:javascript:history.go(-1)" }
Try again

0 comments on commit 7d67b44

Please sign in to comment.