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
|
|
|
|
2019-11-12 18:26:18 +08:00
|
|
|
<div class="content-pane protocols-repository-edit-view">
|
2019-11-20 21:57:53 +08:00
|
|
|
<%= render partial: "protocols/header.html.erb", locals: {preview: false} %>
|
2018-05-12 00:02:17 +08:00
|
|
|
<%= render partial: "protocols/steps.html.erb" %>
|
2016-07-21 19:11:15 +08:00
|
|
|
|
2018-05-12 00:02:17 +08:00
|
|
|
<div class="hidden" data-role="updated-at-label-url" data-url="<%= updated_at_label_protocol_path(@protocol) %>"></div>
|
|
|
|
</div>
|
2016-07-21 19:11:15 +08:00
|
|
|
|
2017-01-25 19:01:23 +08:00
|
|
|
<%= javascript_include_tag "protocols/edit" %>
|
2019-05-13 16:45:12 +08:00
|
|
|
<!-- Create new office file modal -->
|
2020-05-22 18:51:12 +08:00
|
|
|
<%= render partial: 'assets/wopi/create_wopi_file_modal.html.erb' %>
|
2020-11-25 20:13:06 +08:00
|
|
|
|
|
|
|
<!-- Delete file modal -->
|
|
|
|
<%= render partial: 'assets/asset_delete_modal.html.erb' %>
|
2020-12-22 22:25:30 +08:00
|
|
|
<%= javascript_pack_tag 'pdfjs/pdf_js' %>
|
|
|
|
<%= stylesheet_pack_tag 'pdfjs/pdf_js_styles' %>
|