Make price visible

This commit is contained in:
2023-12-05 23:37:40 +00:00
parent f2db361702
commit 63af5a866d
2 changed files with 31 additions and 0 deletions

View File

@@ -38,6 +38,17 @@
</div>
<% end %>
<%= if @item.price do %>
<div>
<div class="text-sm opacity-60">
Price:
</div>
<div>
~£<%= @item.price %>
</div>
</div>
<% end %>
<.button>
<.link class="block h-full w-full" href={@item.url} target="_blank">
Go to seller <.icon name="hero-arrow-right" />