- <% 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 %>
+