<%= render partial: 'flash' %>
<% if current_user == @user %>
<%= link_to "[Edit dagschotel]" , user_edit_dagschotel_path(@user) %> <%= link_to "[Edit profile]" , edit_user_path(@user) %>
<% end %>

<%= @user.nickname %>

<%= button_to "PLACE ORDER!", new_user_order_path(@user), method: :get if current_user == @user %>
DEBT: <%= euro(@user.debt) %>
<% if @orders.any? %>

Total products

Total:

Specifics:

All orders (<%= @user.orders_count %>)

<%= render @orders %>
<%= will_paginate @orders %>
<% end %>