scinote-web/app/views/protocols/index/_protocol_preview_modal_footer.html.erb
2020-01-07 16:13:34 +01:00

7 lines
323 B
Plaintext

<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 edit_protocol_path(protocol),
protocol.team,
t('general.edit') %>
<% end %>