Description: <%= expense.description %>
Payment: <%= expense.payment %>
Period: <%= expense.period %>
Credit card: <%= expense.credit_card %>
Estimated: <%= expense.estimated %>
<% if action_name != "show" %> <%= link_to "Show this expense", expense, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> <%= link_to 'Edit this expense', edit_expense_path(expense), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>