tap/app/views/orders/index.html.erb

12 lines
291 B
Text
Raw Normal View History

2014-12-09 21:15:24 +01:00
<%= render partial: 'flash' %>
2014-12-10 05:13:17 +01:00
<div class="col-md-6">
<h3 class="center" >sort by name</h3>
<%= render 'orders/user_list', users: @users_by_name %>
</div>
<div class="col-md-6">
<h3 class="center" >sort by order</h3>
<%= render 'orders/user_list', users: @users_by_order %>
</div>