<%= semantic_form_for @modulgruppe do |f| %> <%= f.inputs do %>
<%= f.input :name, :wrapper_html=>{:class=>"span12"}%>
<%= f.input :studium_id, :as =>:select, :collection => Studium.all, :wrapper_html=>{:class=>"span4"} %> <%= f.input :typ, :collection=>["Pflicht","Vertiefungspflicht","Wahl"], :wrapper_html=>{:class=>"span4"}%> <%= f.input :phase, :as=>:select, :collection=>1..3, :wrapper_html=>{:class=>"span4"} %>
<%= f.input :desc %>
<%= f.input :moduls, :as=>:check_boxes %>
<% end %> <%= f.actions do %> <%= f.action :submit, :as => :input %> <% end %> <% end %>