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

30 lines
979 B
Text
Raw Normal View History

<%= render partial: "protocols/header.html.erb", locals: {preview: true} %>
2016-12-22 18:43:11 +08:00
<div data-role="steps-container">
<div class="row">
<div class="col-xs-8">
<h4><%= t("protocols.steps.subtitle") %></h4>
2016-12-22 18:43:11 +08:00
</div>
</div>
<div id="steps">
<% protocol.steps.order(:position).each do |step| %>
<%= render partial: "steps/step.html.erb", locals: { step: step, preview: true } %>
2016-12-22 18:43:11 +08:00
<% end %>
</div>
</div>
<%= javascript_include_tag "handsontable.full" %>
<%= javascript_include_tag "lodash" %>
<%= javascript_include_tag "numeral" %>
<%= javascript_include_tag "numeric" %>
<%= javascript_include_tag "md5" %>
<%= javascript_include_tag "jstat" %>
<%= javascript_include_tag "formula" %>
<%= javascript_include_tag "parser" %>
<%= javascript_include_tag "ruleJS" %>
<%= javascript_include_tag "handsontable.formula" %>
<%= javascript_include_tag "big.min" %>
<%= stylesheet_link_tag "handsontable.formula" %>
<%= javascript_include_tag "protocols/steps" %>