forked from bofh/fetsite
Gremien, Memberships Update
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :desc %>
|
||||
<%= f.input :typ %>
|
||||
<%= f.input :typ, :as => :select, :collection => Gremium::TYPEN.invert %>
|
||||
<%= f.input :geschlecht, :as => :select, :collection => Gremium::GESCHLECHT.invert %>
|
||||
<%= f.input :thema, :as=> :select, :collection => Thema.all %>
|
||||
<% end %>
|
||||
|
||||
<%= f.actions do %>
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
|
||||
<p>
|
||||
<b>Typ:</b>
|
||||
<%= @gremium.typ %>
|
||||
<%= Gremium::TYPEN[@gremium.typ.to_i].to_s %>
|
||||
</p>
|
||||
|
||||
|
||||
<%= link_to 'Edit', edit_gremium_path(@gremium) %> |
|
||||
<%= link_to 'Back', gremien_path %>
|
||||
<%= link_to 'Back', gremien_path %>
|
||||
|
||||
Reference in New Issue
Block a user