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

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>