The personal finance app for everyone
Adds condition to skip link to transaction form if it's not editable (#1394)
Nico7946cd781999
diff --git a/app/views/account/transactions/_transaction.html.erb b/app/views/account/transactions/_transaction.html.erbindex 475ab256..4e033f9a 100644--- a/app/views/account/transactions/_transaction.html.erb+++ b/app/views/account/transactions/_transaction.html.erb@@ -17,7 +17,7 @@</div><div class="truncate text-gray-900">- <% if entry.new_record? %>+ <% if entry.new_record? || !editable %><%= content_tag :p, entry.name %><% else %><%= link_to entry_name(entry),