diff --git a/app/views/my_modules/protocols/_protocol_buttons.html.erb b/app/views/my_modules/protocols/_protocol_buttons.html.erb
index 7608a2106..09f128cdd 100644
--- a/app/views/my_modules/protocols/_protocol_buttons.html.erb
+++ b/app/views/my_modules/protocols/_protocol_buttons.html.erb
@@ -32,9 +32,11 @@
<%= t("my_modules.protocols.buttons.export") %>
<% end %>
<% if can_read_protocol_in_module?(@protocol) && can_create_protocols_in_repository?(@protocol.team) %>
- <%= link_to copy_to_repository_modal_protocol_path(@protocol, format: :json), id: "protocol-copy-to-repository", class: "btn btn-default", remote: true, data: { action: "copy-to-repository" } do %>
- <%= t("my_modules.protocols.buttons.copy_to_repository") %>
+
+ <%= link_to copy_to_repository_modal_protocol_path(@protocol, format: :json), id: "protocol-copy-to-repository", class: "btn btn-default", remote: true, data: { action: "copy-to-repository" } do %>
+ <%= t("my_modules.protocols.buttons.copy_to_repository") %>
<% end %>
+
<% else %>
<%= t("my_modules.protocols.buttons.copy_to_repository") %>
<% end %>