2021-12-01 18:16:45 +08:00
|
|
|
<div class="modal"
|
|
|
|
id="print-protocol-modal"
|
|
|
|
tabindex="-1"
|
|
|
|
role="dialog"
|
|
|
|
aria-labelledby="print-protocol-modal-label">
|
2023-07-03 17:11:51 +08:00
|
|
|
<%= form_with url: print_protocol_path(protocol), method: :get, html: { class: 'print-protocol-form', id: "print-protocol-form", target: '_blank' } do %>
|
2021-12-01 18:16:45 +08:00
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2023-08-17 19:55:17 +08:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="sn-icon sn-icon-close"></i></button>
|
2021-12-01 18:16:45 +08:00
|
|
|
<h4 class="modal-title" id="print-protocol-modal-label"><%= t("protocols.print.modal.title") %></h5>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2022-08-10 21:39:45 +08:00
|
|
|
<% if comments_enabled %>
|
|
|
|
<div class="sci-checkbox-container">
|
|
|
|
<%= check_box_tag :include_comments, 1, true, { class: "sci-checkbox" } %>
|
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</div>
|
|
|
|
<small><%= t("protocols.print.modal.include_comments") %></small>
|
|
|
|
<% end %>
|
2021-12-01 18:16:45 +08:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<div class="pull-right">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%=t "general.cancel" %></button>
|
2021-12-03 20:44:18 +08:00
|
|
|
<input type="submit" value="<%= t("protocols.print.title") %>", class="btn btn-primary">
|
2021-12-01 18:16:45 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|