mirror of
https://github.com/we-promise/sure.git
synced 2026-04-23 22:14:08 +00:00
* Transaction scaffold * Rough in transaction views * Fix sort order * Fix mass assignment issue * Fix test * Simplify CI workflow * Don't seed db before test
11 lines
607 B
Plaintext
11 lines
607 B
Plaintext
<div class="mx-auto md:w-2/3 w-full flex">
|
|
<div class="mx-auto">
|
|
<%= render @transaction %>
|
|
<%= link_to "Edit this transaction", edit_transaction_path(@transaction), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<div class="inline-block ml-2">
|
|
<%= button_to "Destroy this transaction", transaction_path(@transaction), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
|
|
</div>
|
|
<%= link_to "Back to transactions", transactions_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
</div>
|
|
</div>
|