fix für bulk edit moduls

This commit is contained in:
Andreas Stephanides
2014-04-04 14:50:48 +02:00
parent c3e1a23073
commit 87cad4b910
4 changed files with 21 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<% @moduls.each do |m| %>
<%= semantic_fields_for "moduls[#{m.id}]", m do |f| %>
<tr><td>
<%= f.input :id, :label=>false, :hint=>"" ,:as=>:hidden%>
<%= f.input :id, :label=>false, :hint=>"" ,:as=>:hidden %>
<%= f.input :name, :label=>false, :hint=>"" %></td>
<td>
<%= f.input :modulgruppen, :label=>false, :hint=>"" , :collection=>Modulgruppe.all %>