From efb92e7b34549846f39008a39579b807dfce2b6f Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Wed, 3 Jul 2024 13:08:34 +0300 Subject: [PATCH] changed price render for blind auction without users bid --- app/views/auctions/_auction.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/auctions/_auction.html.erb b/app/views/auctions/_auction.html.erb index 84e8106b2..d02227bf6 100644 --- a/app/views/auctions/_auction.html.erb +++ b/app/views/auctions/_auction.html.erb @@ -13,7 +13,7 @@ <% if auction.english? %> <%= english_auction_presenter.maximum_bids %> € <% else %> - <%= auction.users_price %> € + <%= auction.users_price.zero? ? '' : "#{auction.users_price} €" %> <% end %>