count-anything/app/views/home/index.html.erb
2023-02-05 23:10:37 +01:00

15 lines
470 B
Plaintext

<div class="mt-2 row row-cols-4" id="count-list">
<div class="col text-center d-none" data-count-id="" id="template">
<span class="fw-bold fs-1 count"></span>
<div class="fw-light fs-4 name"></div>
</div>
<% @counts.each { |c| %>
<div class="col text-center" data-count-id="<%= c.id %>">
<span class="fw-bold fs-1 count"><%= c.count %></span>
<div class="fw-light fs-4 name">
<%= c.name %>
</div>
</div>
<% } %>
</div>