summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index 5756649..07cb5d1 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -49,7 +49,7 @@
49 form: { data: { confirm: "Publish this draft?" }, class: 'button_to state_changing' } %> 49 form: { data: { confirm: "Publish this draft?" }, class: 'button_to state_changing' } %>
50 </div> 50 </div>
51 <% end %> 51 <% end %>
52 <% if @node.draft || @node.autosave %> 52 <% if @node.autosave || (@node.draft && @node.head) %>
53 <div class="node_info_item"> 53 <div class="node_info_item">
54 <%= button_to (@node.draft && !@node.autosave ? 'Destroy Draft' : 'Discard Autosave'), 54 <%= button_to (@node.draft && !@node.autosave ? 'Destroy Draft' : 'Discard Autosave'),
55 revert_node_path(@node), method: :put, 55 revert_node_path(@node), method: :put,