Return to Snippet

Revision: 3222
at June 20, 2007 03:05 by bordalix


Initial Code
<% Company.find(:all).each do |c| %>
  <input type="radio" name="technology[company_id]" value="<%= c.id -%>" 
  <% if @technology.company == c -%> checked="checked" <% end -%> />
  <%= c.name %></td>
<% end %>

Initial URL

                                

Initial Description

                                

Initial Title
radiobox collection

Initial Tags

                                

Initial Language
Rails