scinote-web/app/views/protocols/index/_protocol_preview_modal_footer.html.erb
2017-01-25 12:01:23 +01:00

6 lines
304 B
Text

<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.close" %></button>
<% if can_edit_protocol(@protocol) %>
<%= route_to_other_team_btn edit_protocol_path(protocol),
protocol.team,
t('general.edit') %>
<% end %>