Displaying 1 result from an estimated 1 matches for "servicedeskciassociationtype".
2008 Mar 28
0
select in a loop
Hi
My view code is
<% for hardware_ci in @hardware_cis %>
<td> <%= select( "sd_ci", "service_desk_ci_association_type_id",
ServiceDeskCiAssociationType.find(:all).collect {|p| [ p.description,
p.id ] }) %></td>
<%= hidden_field "sd_ci", "id", "value" => hardware_ci.ci.id %>
<% end %>
<% for document_ci in @document_cis %>
<td> <%= select( "sd_ci", "service_desk_ci...