Displaying 1 result from an estimated 1 matches for "unused_skills".
2007 Jul 24
2
reusing partials
...hen some how be used to replace the word skill in the code and
reuse the partial for both, is this doable or do I just need to copy
the code into another file and have a separate partial for interests
<%= form_tag :action => "add_some_skills",
:id=> @degree %>
<% @unused_skills.each {|key| %>
<%= check_box(''key''+key.id.to_s, ''checked'') +
key.name %><br />
<% }%>
<%= submit_tag %>
<%= end_form_tag %>
</td>
<td>
<p><% if @degree.skills.empty?%>
(None)
</p>
<% else %&...