document toolbar
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<div class="hidden-print">
|
||||
<%= link_to "Back to parent" , @document.parent, class: "btn" %>
|
||||
<div class="btn-group">
|
||||
<%= link_to "PDF", document_path(@document, :format=>"pdf"),class: "btn" %>
|
||||
<%= link_to "sanitize", document_path(@document),class: "btn" if can? :sanitize, @document %>
|
||||
<%= link_to fa_icon('file-pdf-o')+" PDF", document_path(@document, :format=>"pdf"),class: "btn" %>
|
||||
<%= link_to "sanitize", sanitize_document_path(@document),class: "btn" if can? :sanitize, @document %>
|
||||
|
||||
<%= link_to ff_icon("icon-pencil") + " Edit", write_document_path(@document), class: "btn" %>
|
||||
<%= link_to ff_icon("icon-refresh")+" Refresh from Etherpad", read_from_etherpad_document_path(@document), class: "btn" if @document.is_etherpad? %>
|
||||
|
||||
Reference in New Issue
Block a user