diff --git a/app/views/my_modules/protocols.html.erb b/app/views/my_modules/protocols.html.erb index 5b8e9e45c..d7e9a7d71 100644 --- a/app/views/my_modules/protocols.html.erb +++ b/app/views/my_modules/protocols.html.erb @@ -25,18 +25,17 @@ <%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %> <%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %> - <%= render partial: "my_modules/state_buttons.html.erb" %>
<% if can_manage_module?(@my_module) %> - <%= render partial: "my_modules/protocols/protocol_description_form", locals: + <%= render partial: "my_modules/protocols/protocol_description_form", locals: { protocol: @my_module.protocol, update_url: update_protocol_description_my_module_path(@my_module, format: :json) - } + } %> <% elsif @my_module.protocol.description.present? %> <%= custom_auto_link(@my_module.protocol.description,