mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-21 22:33:13 +08:00
Add permission check for checkbox items [SCI-6297]
This commit is contained in:
parent
5a7d285264
commit
a85b16ff2c
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
|||
<% ordered_checklist_items(checklist).each do |checklist_item| %>
|
||||
<div class="checkbox" <%= @protocol.in_module? ? "data-action=check-item" : "" %>>
|
||||
<label>
|
||||
<% if @protocol.in_module? %>
|
||||
<% if @protocol.in_module? && can_complete_or_checkbox_step?(@protocol) %>
|
||||
<input type="checkbox"
|
||||
value=""
|
||||
data-link-url="<%=checklistitem_state_step_path(step) %>"
|
||||
|
|
Loading…
Reference in a new issue