Files
fetsite/app/views/memberships/_form.html.erb
2013-08-21 19:04:26 +02:00

13 lines
345 B
Plaintext

<%= semantic_form_for @membership do |f| %>
<%= f.inputs do %>
<%= f.input :gremium, :as=>:radio %>
<%= f.input :start %>
<%= f.input :stop %>
<%= f.input :typ ,:as=>:radio, :collection=>{"mitglied"=>1, "ersatzmitglied"=>2} %>
<% end %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>