mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Merge pull request #1703 from urbanrotnik/ur-sci-3382-duplicated-complete-button
Remove duplicated button [SCI-3382]
This commit is contained in:
commit
090df87f48
1 changed files with 2 additions and 3 deletions
|
@ -25,18 +25,17 @@
|
||||||
<%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %>
|
<%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %>
|
||||||
</div>
|
</div>
|
||||||
<%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %>
|
<%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %>
|
||||||
<%= render partial: "my_modules/state_buttons.html.erb" %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="protocol-description-content">
|
<div class="protocol-description-content">
|
||||||
<% if can_manage_module?(@my_module) %>
|
<% 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,
|
protocol: @my_module.protocol,
|
||||||
update_url: update_protocol_description_my_module_path(@my_module, format: :json)
|
update_url: update_protocol_description_my_module_path(@my_module, format: :json)
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
<% elsif @my_module.protocol.description.present? %>
|
<% elsif @my_module.protocol.description.present? %>
|
||||||
<%= custom_auto_link(@my_module.protocol.description,
|
<%= custom_auto_link(@my_module.protocol.description,
|
||||||
|
|
Loading…
Reference in a new issue