Files
fetsite/app/views/moduls/_form.html.erb
Andreas Stephanides a712fc70f4 moduls
2013-03-18 23:07:41 +01:00

15 lines
421 B
Plaintext

<%= semantic_form_for @modul do |f| %>
<%= f.inputs do %>
<%= f.input :modulgruppen,:as => :select, :collection => Hash[Modulgruppe.all.map{|m| [m.studium.name + " " + m.name,m.id]}] %>
<%= f.input :name ,:hint=>true%>
<%= f.input :desc, :as=>:tinymce_text %>
<%= f.input :depend %>
<% end %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>