budget/app/views/extra_bills/index.html.erb

15 lines
516 B
Text
Raw Normal View History

2023-02-24 19:08:12 -05:00
<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">Extra bills</h1>
<%= link_to 'New extra bill', new_extra_bill_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div>
<div id="extra_bills" class="min-w-full">
<%= render @extra_bills %>
</div>
</div>