Skip to content

Commit 0d80069

Browse files
committed
Show editable after approval instead of locked
1 parent 1b5c274 commit 0d80069

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

app/views/projects/_project_edit.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<span class="ml-1 text-red-600">*</span>
2323
<% end %>
2424

25-
<% if is_readonly %>
25+
<% if !is_readonly %>
2626
<span class="ml-2 text-[10px] font-semibold text-blue-600 bg-blue-50 px-2 py-0.5 rounded-full border border-blue-100 uppercase tracking-tighter">
27-
Locked after Approval
27+
Editable after Approval
2828
</span>
2929
<% end %>
3030
<% end %>

app/views/projects/edit.html.erb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@
7575
<div class="flex flex-col group">
7676
<label class="block text-xs sm:text-sm font-bold text-gray-700 uppercase tracking-wide mb-2">
7777
Based on Topic
78-
<% if is_topic_readonly %>
79-
<span class="ml-2 text-[10px] font-bold text-blue-600 bg-blue-50 px-2 py-0.5 rounded-full border border-blue-100 uppercase tracking-tighter">
80-
Locked after Approval
81-
</span>
82-
<% end %>
8378
</label>
8479

8580
<% unless is_topic_readonly %>

0 commit comments

Comments
 (0)