2016-02-12 23:52:43 +08:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset='utf-8' />
|
|
|
|
<%= wicked_pdf_stylesheet_link_tag "application" %>
|
|
|
|
<%= wicked_pdf_stylesheet_link_tag "reports_pdf" %>
|
2016-07-21 19:11:15 +08:00
|
|
|
<%= bootstrap_cdn_link_tag %>
|
2020-07-14 15:44:03 +08:00
|
|
|
<%= font_awesome_cdn_link_tag %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</head>
|
|
|
|
<body class="print-report-body">
|
|
|
|
<div class="print-report">
|
2017-01-26 17:46:58 +08:00
|
|
|
<% # Also whitelist <img> and <input type="checkbox"> tags %>
|
2018-05-17 17:21:34 +08:00
|
|
|
<%= sanitize_input(fix_smart_annotation_image(content),
|
2018-04-05 21:31:25 +08:00
|
|
|
%w(img input),
|
|
|
|
%w(type disabled checked)) %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
</body>
|
2016-08-22 20:40:09 +08:00
|
|
|
</html>
|