scinote-web/app/views/protocols/index/_protocol_preview_modal_footer.html.erb

7 lines
318 B
Plaintext
Raw Normal View History

2020-01-07 23:13:34 +08:00
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%=t "general.close" %></button>
<% if can_manage_protocol_in_repository?(@protocol) %>
<%= route_to_other_team_btn protocol_path(protocol),
2017-01-25 19:01:23 +08:00
protocol.team,
t('general.edit') %>
<% end %>