Displaying 1 result from an estimated 1 matches for "form_bit_checkbox".
2006 Oct 16
3
Saving many_to_many
...:vital_stat][:id])
flash[:notice] = ''Talent was successfully updated.''
end
end
end
def delete
Form fields for checkboxes
<fieldset>
<legend>Select Vital Stats</legend>
<% VitalStat.find(:all).each do |g| %>
<%= form_bit_checkbox(''vital_stat'', g.id, g.title, '''', '''',
@talent.vital_stats.include?(g) ? {''checked'' => ''checked''} : '''') %>
<% end %>
<div class="cleaner"></div>
<...