tap/app/views/orders/new.html.erb
2014-11-24 21:45:32 +01:00

11 lines
259 B
Text

<ul class="users">
<% @users.each do |user| %>
<li>
<%= form_for overview_path do |f| %>
<%= hidden_field_tag 'user_id', user.id %>
<%= f.submit user.name , class: "btn btn-primary" %>
<% end %>
</li>
<% end %>
</ul>