Adds condition to skip link to transaction form if it's not editable #1394
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user