scinote-web/app/views/reports/report.html.erb

17 lines
364 B
Text
Raw Normal View History

<!DOCTYPE html>
2016-02-12 23:52:43 +08:00
<html>
<head>
<meta charset="UTF-8">
2016-02-12 23:52:43 +08:00
</head>
<body class="print-report-body">
<% if has_cover %>
<div style="break-after: page;"></div>
<% end %>
2016-02-12 23:52:43 +08:00
<div class="print-report">
<% report.root_elements.each do |el| %>
<%= render_report_element(el, local_assigns) %>
<% end %>
2016-02-12 23:52:43 +08:00
</div>
</body>
</html>