2016-07-21 19:11:15 +08:00
|
|
|
<% provide(:head_title, t("protocols.edit.head_title")) %>
|
|
|
|
|
2017-06-05 17:31:05 +08:00
|
|
|
<%= render partial: 'shared/drag_n_drop_overlay' %>
|
2016-07-21 19:11:15 +08:00
|
|
|
<%= render partial: "protocols/breadcrumbs.html.erb",
|
2017-01-25 19:01:23 +08:00
|
|
|
locals: { teams: @teams,
|
|
|
|
current_team: @protocol.team,
|
2016-07-21 19:11:15 +08:00
|
|
|
type: @type } %>
|
|
|
|
|
|
|
|
<%= render partial: "protocols/header.html.erb" %>
|
|
|
|
|
|
|
|
<%= render partial: "protocols/steps.html.erb" %>
|
|
|
|
|
2017-04-14 22:05:35 +08:00
|
|
|
<%= render partial: "shared/image_preview_modal.html.erb" %>
|
|
|
|
|
2016-07-21 19:11:15 +08:00
|
|
|
<div class="hidden" data-role="updated-at-label-url" data-url="<%= updated_at_label_protocol_path(@protocol) %>"></div>
|
|
|
|
|
2017-01-25 19:01:23 +08:00
|
|
|
<%= javascript_include_tag "protocols/edit" %>
|