<%= render partial: 'flash' %>
<%= link_to "[Edit profile]" , edit_user_registration_path if current_user == @user%>

<%= @user.nickname %> (<%= @user.full_name %>)

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

Total products

Total:

Specifics:
<%= render partial: "products/product_row", collection: @products, as: :product %>

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

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