tap/app/views/orders/index.html.erb
2014-12-10 05:13:17 +01:00

11 lines
291 B
Text

<%= render partial: 'flash' %>
<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>