budget/app/views/expenses/new.html.erb

8 lines
263 B
Text
Raw Permalink Normal View History

2022-11-20 15:43:33 -05:00
<div class="mx-auto md:w-2/3 w-full">
<h1 class="font-bold text-4xl">New expense</h1>
<%= render "form", expense: @expense %>
<%= link_to 'Back to expenses', expenses_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
</div>