Track incomes

This commit is contained in:
Andrew Tomaka 2022-11-20 16:02:41 -05:00
parent ab00344de0
commit e098ab48ca
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
19 changed files with 337 additions and 1 deletions

View file

@ -0,0 +1,14 @@
<div class="w-full">
<% if notice.present? %>
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
<% end %>
<div class="flex justify-between items-center">
<h1 class="font-bold text-4xl">Incomes</h1>
<%= link_to 'New income', new_income_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div>
<div id="incomes" class="min-w-full">
<%= render @incomes %>
</div>
</div>