<%= f.label :captain1 %>
<%= f.select :captain1_id, @gather.gatherers.collect{|c| [c, c.id]} %>
<%= f.label :captain2 %>
<%= f.select :captain2_id, @gather.gatherers.collect{|c| [c, c.id]} %>
<%= f.submit 'Restart gather' %>
<% end %>
<%= f.label :turn %>
<%= f.select :turn, ['1', '2'] %>
<%= f.submit 'Change turn' %>
<% end %>
Select player:
<%= f.select :id, @gather.gatherers.collect{|g| [g.user, g.id]} %>
Replace with <%= link_to_function 'user', "findUser('username')" %>: <%= f.text_field :username %>
<%= f.submit 'Replace player' %>
<% end %> <% end %><%= f.submit "Start next (#{f.object.category})" %>
<% end %>