Permalink
Browse files

Update UI to display key, not value

  • Loading branch information...
1 parent ff7eb4a commit e3742ab5b016dc42c9b9a7e8f22c5f3ae5b829d3 Ariel Salomon committed with sideshowbandana Sep 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vanity/templates/_ab_test.erb
@@ -5,7 +5,7 @@
<% score.alts.each do |alt| %>
<tr class="<%= "choice" if score.choice == alt %>">
<td class="option"><%= alt.name.gsub(/^o/, "O") %>:</td>
- <td class="value"><code><%=vanity_h alt.value.to_s %></code></td>
+ <td class="value"><code><%=vanity_h alt.key.to_s %></code></td>
<td class="value"><%= alt.participants %> participants</td>
<td class="value"><%= alt.converted %> converted</td>
<td>

0 comments on commit e3742ab

Please sign in to comment.