% title "New Forum: #{@forum.group.name}" %> <%= link_to @forum.group, forumgroup_path(@forum.group) %> → New forum
<%= f.label :name %> | <%= f.text_field :name, placeholder: "Name" %> |
<%= f.label :position %> | <%= f.number_field :position, placeholder: "Position" %> |
<%= f.label :role_read_id, "Min. read role" %> | <%= f.select :role_read_id, role_selection, include_blank: "None" %> |
<%= f.label :role_write_id, "Min. write role" %> | <%= f.select :role_write_id, role_selection, include_blank: false %> |
<%= f.label :necro_length, "Necropost warning delay (in days)" %> | <%= f.number_field :necro_length, placeholder: "Warning Delay (leave blank for no warning)" %> |
<%= f.submit "Create Forum", class: "btn blue left" %>
<% end %>