<% if (plugins.crypto) { %>

<%= plugins.crypto.symbol ? `${plugins.crypto.symbol?.toUpperCase()}` : "" %>

<% if (plugins.crypto.error) { %>
<%= plugins.crypto.error.message %>
<% } else { %>
<%= `${plugins.crypto.current_price.toFixed(plugins.crypto.precision || 2) } ${plugins.crypto.vs_currency?.toUpperCase()}` %>
<%= plugins.crypto.days %>
<% if (plugins.crypto.price_change_percentage_24h > 0) { %> <% } else { %> <% } %> <%= plugins.crypto.price_change_percentage_24h ?plugins.crypto.price_change_percentage_24h.toFixed(2) : 0 %>%
<%- plugins.crypto.chart %>
<% } %>
<% } %>