Displaying 1 result from an estimated 1 matches for "add_some_skil".
Did you mean:
add_some_skills
2007 Jul 24
2
reusing partials
...here is any way to pass the partial a parameter which I
can then 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><%...