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