Update _tickers.turbo_stream.erb

This commit is contained in:
Josh Pigford
2024-10-29 18:14:54 -04:00
parent befb5beec2
commit e7375d5565

View File

@@ -1 +1,7 @@
<%= tickers.inspect %>
<div class="flex items-center">
<%= image_tag("https://logo.synthfinance.com/ticker/#{tickers&.ticker}", class: "rounded-full h-8 w-8 inline-block mr-2") %>
<div class="flex flex-col">
<span class="text-sm font-medium"><%= tickers&.name.presence || tickers&.ticker %></span>
<span class="text-xs text-gray-500"><%= "#{tickers&.ticker} (#{tickers&.exchange_acronym})" %></span>
</div>
</div>