Refactor price display in index.html to use span elements for better structure and styling
This commit is contained in:
@@ -138,8 +138,8 @@
|
||||
<button type="submit" name="position" value="{{ pos }}" title="{{ prod['name'] }}"
|
||||
class="btn {{ prod['color_class'] }}">
|
||||
<span class="article-icon">{{ prod['icon'] }}</span>
|
||||
{{ '{:,.2f}'.format(prod['price']).replace('.', ',') }}€
|
||||
({{ items.get(pos, 0) }})
|
||||
<span>{{ '{:,.2f}'.format(prod['price']).replace('.', ',') }}€</span>
|
||||
<span>({{ items.get(pos, 0) }})</span>
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user