parent
a70c656690
commit
4d3971113f
13 changed files with 196 additions and 0 deletions
|
@ -19,9 +19,18 @@
|
|||
<li class="mr-6"><%= link_to "Credit Card Bills", credit_card_bills_path, class: "text-white" %></li>
|
||||
<li class="mr-6"><%= link_to "Incomes", incomes_path, class: "text-white" %></li>
|
||||
<li class="mr-6"><%= link_to "Members", members_path, class: "text-white" %></li>
|
||||
<li class="mr-6"><%= link_to "Log out", session_path, data: {turbo_method: :delete}, class: "text-white" %></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<% if flash.any? %>
|
||||
<% flash.each do |type, msg| %>
|
||||
<div class="py-2 px-4 font-bold msg-<%= type %>">
|
||||
<%= msg %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<main class="container mx-auto mt-28 px-5 flex">
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue