mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Adds condition to skip link to transaction form if it's not editable (#1394)
This commit is contained in:
parent
e7f09e6f71
commit
7946cd7819
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue