budget/app/views/expenses/edit.html.erb
2022-11-20 15:43:33 -05:00

8 lines
387 B
Text

<div class="mx-auto md:w-2/3 w-full">
<h1 class="font-bold text-4xl">Editing expense</h1>
<%= render "form", expense: @expense %>
<%= link_to "Show this expense", @expense, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to "Back to expenses", expenses_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
</div>