mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
* Added erblint and fixed offenses * Added erblint bintstub. Included erblint into CI * Merged GitHub Actions tasks for rubocop and erblint into one * Added config for erblint. * Reverted erblint call in the CI
11 lines
535 B
Plaintext
11 lines
535 B
Plaintext
<%# locals: (date:, transactions:) %>
|
|
<div class="bg-gray-25 rounded-xl p-1">
|
|
<div class="py-2 px-4 flex items-center justify-between font-medium text-xs text-gray-500">
|
|
<h4><%= date.strftime("%b %d, %Y") %> · <%= transactions.size %></h4>
|
|
<span><%= format_money -transactions.sum(&:amount_money) %></span>
|
|
</div>
|
|
<div class="bg-white shadow-xs rounded-md border border-alpha-black-25 divide-y divide-alpha-black-50">
|
|
<%= render partial: "transactions/transaction", collection: transactions %>
|
|
</div>
|
|
</div>
|