Add pandoc
This commit is contained in:
parent
dec482bfba
commit
109dcd205c
11 changed files with 108 additions and 4 deletions
23
app/views/reports/show.odt.erb
Normal file
23
app/views/reports/show.odt.erb
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<h1><%= @report.name %></h1>
|
||||
<small>
|
||||
Erstellt am <%= l(@report.created_at, format: :short) %>,
|
||||
zuletzt bearbeitet am <%= l(@report.updated_at, format: :short) %>
|
||||
</small>
|
||||
|
||||
<% if @report.comment_html %>
|
||||
<div>
|
||||
<%= @report.comment_html %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div >
|
||||
<% @report.elements.each do |element| %>
|
||||
<%= render element %>
|
||||
<% end %>
|
||||
</div>
|
||||
</body>
|
||||
</head>
|
||||
Loading…
Add table
Add a link
Reference in a new issue