2023-03-03 18:12:59 -05:00
|
|
|
<div class="mx-auto md:w-2/3 w-full flex">
|
|
|
|
<div class="mx-auto">
|
|
|
|
<% 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 %>
|
|
|
|
|
|
|
|
<%= render @credit_card_bill %>
|
|
|
|
|
2023-07-10 23:09:57 -04:00
|
|
|
<%= link_to 'Edit this credit card bill', edit_credit_card_bill_path(@credit_card_bill), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
2023-03-03 18:12:59 -05:00
|
|
|
<div class="inline-block ml-2">
|
2023-07-10 23:09:57 -04:00
|
|
|
<%= button_to 'Destroy this credit card bill', credit_card_bill_path(@credit_card_bill), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
|
2023-03-03 18:12:59 -05:00
|
|
|
</div>
|
2023-07-10 23:09:57 -04:00
|
|
|
<%= link_to 'Back to credit card bills', credit_card_bills_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
2023-03-03 18:12:59 -05:00
|
|
|
</div>
|
|
|
|
</div>
|