Add pandoc
This commit is contained in:
parent
dec482bfba
commit
109dcd205c
11 changed files with 108 additions and 4 deletions
|
|
@ -35,6 +35,17 @@
|
|||
<%= link_to report_path(@report, format: :xlsx), class: "btn btn-primary", target: "_blank" do %>
|
||||
<i class="bi bi-filetype-xlsx"></i> XLSX
|
||||
<% end %>
|
||||
<%= link_to report_path(@report, format: :rtf), class: "btn btn-primary", target: "_blank" do %>
|
||||
<i class="bi bi-file-richtext"></i> RTF
|
||||
<% end %>
|
||||
<%= link_to report_path(@report, format: :xml), class: "btn btn-primary", target: "_blank" do %>
|
||||
<i class="bi bi-filetype-html"></i> HTML
|
||||
<% end %>
|
||||
<%= link_to report_path(@report, format: :odt), class: "btn btn-primary", target: "_blank" do %>
|
||||
<i class="bi bi-file-richtext"></i> ODT
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="action-row">
|
||||
<%= link_to t("scaffold.link_edit", model: @report.model_name.human), edit_report_path(@report) %>
|
||||
<%= link_to t("scaffold.link_index", model: @report.model_name.human(count: 2)), reports_path %>
|
||||
<%= button_to t("scaffold.link_destroy", model: @report.model_name.human), @report, method: :delete, class: "btn btn-outline-danger" %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue