Displaying 1 result from an estimated 1 matches for "certification_ids".
2006 Jan 21
0
Display options from HABTM
...table and this will potetially produce hundreds of checkboxes.
---------------------------------------------------
<h1>Certification</h1>
<p>
<% for certification in @certifications %>
<input type="checkbox"
id="<%=certification.id%>"
name="certification_ids[]"
value="<%=certification.id%>"
<%if @employee.certifications.include?
certification%>checked="checked"<% end %>
><%=certification.course%> <br />
<% end %>
----------------------------------------------------
I think I really have...