<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :description %>
<%= f.text_field :description %>
<%= f.label :category %>
<%= f.select :category_id, Category.domain(Category::DOMAIN_FORUMS).ordered.collect{|c| [c, c.id]} %>
<%= f.submit 'Save' %>
<% end %>Group | Access Level | Options |
---|---|---|
<%= namelink forumer.group %> | <%= g.select :access, forumer.accesses.invert, :size => 20 %> | <%= link_to_function "Update", "$('edit_forumer_#{forumer.id}').submit()" %> <%= link_to "Remove", forumer, :method => :delete %> | <% end %>
<%= f.label :group_id %>
<%= f.select :group_id, Group.all.collect{|g| [g, g.id]} %>
<%= f.select :access, f.object.accesses.invert, :size => 20 %>
<%= f.submit "Add" %>