Skip to content

Instantly share code, notes, and snippets.

@samuelkobe
Created September 17, 2012 07:17
Show Gist options
  • Save samuelkobe/3736006 to your computer and use it in GitHub Desktop.
Save samuelkobe/3736006 to your computer and use it in GitHub Desktop.
hello
<div class="row-fluid" id="hairstyles">
<%= form_tag('/blacklists/ip_check') do %>
<% Hairstyle.all.each do |hairstyle| %>
<ul style="float:left;">
<li><%= radio_button_tag 'hairstyle', hairstyle.id %></li>
<li class="name"><%= hairstyle.name %></li>
<li class="count"><%= hairstyle.count %></li>
</ul>
<% end %>
<%= submit_tag 'Vote' %>
<% end %>
<div id="log"></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment