forked from bofh/fetsite
30 lines
775 B
Plaintext
Executable File
30 lines
775 B
Plaintext
Executable File
<%= semantic_form_for @modulgruppe do |f| %>
|
|
<%= f.inputs do %>
|
|
<div class="span8">
|
|
|
|
<div class="row-fluid">
|
|
<%= f.input :name, :wrapper_html=>{:class=>"span12"}%>
|
|
</div>
|
|
<div class="row-fluid">
|
|
<%= 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"} %>
|
|
</div>
|
|
|
|
|
|
<div class="row-fluid">
|
|
<%= f.input :desc %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="span4">
|
|
<%= f.input :moduls, :as=>:check_boxes %>
|
|
</div>
|
|
<% end %>
|
|
<%= f.actions do %>
|
|
<%= f.action :submit, :as => :input %>
|
|
|
|
<% end %>
|
|
<% end %>
|