Make price visible
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user