diff --git a/app/views/transactions/_transaction.html.erb b/app/views/transactions/_transaction.html.erb index d84f3369..17b0e44e 100644 --- a/app/views/transactions/_transaction.html.erb +++ b/app/views/transactions/_transaction.html.erb @@ -35,38 +35,42 @@
-
- <% if transaction.transfer? %> - <%= link_to( - entry.name, - transaction.transfer.present? ? transfer_path(transaction.transfer) : entry_path(entry), - data: { - turbo_frame: "drawer", - turbo_prefetch: false - }, - class: "hover:underline" - ) %> - <% else %> - <%= link_to( - entry.name, - entry_path(entry), - data: { - turbo_frame: "drawer", - turbo_prefetch: false - }, - class: "hover:underline" - ) %> - <% end %> +
+
+ <% if transaction.transfer? %> + <%= link_to( + entry.name, + transaction.transfer.present? ? transfer_path(transaction.transfer) : entry_path(entry), + data: { + turbo_frame: "drawer", + turbo_prefetch: false + }, + class: "hover:underline" + ) %> + <% else %> + <%= link_to( + entry.name, + entry_path(entry), + data: { + turbo_frame: "drawer", + turbo_prefetch: false + }, + class: "hover:underline" + ) %> + <% end %> +
- <% if entry.excluded %> - (excluded from averages)"> - <%= icon "asterisk", size: "sm", color: "current" %> - - <% end %> +
+ <% if entry.excluded %> + (excluded from averages)"> + <%= icon "asterisk", size: "sm", color: "current" %> + + <% end %> - <% if transaction.transfer.present? %> - <%= render "transactions/transfer_match", transaction: transaction %> - <% end %> + <% if transaction.transfer.present? %> + <%= render "transactions/transfer_match", transaction: transaction %> + <% end %> +