summaryrefslogtreecommitdiff
path: root/app/views/nodes/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/nodes/show.html.erb')
-rw-r--r--app/views/nodes/show.html.erb40
1 files changed, 31 insertions, 9 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index bbbefe9e..8aaedc5f 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -1,9 +1,31 @@
1<h1>Node</h1> 1<% content_for :subnavigation do %>
2<p> 2 <%= link_to 'Edit', edit_node_path(@node), :id => 'button', :class => "unselected" %>
3There is no draft to preview. Click <%= link_to 'edit', edit_node_path %> to 3 <%= link_to 'Preview', preview_page_path(@page) %>
4create one or view the currently 4 <%= link_to 'Revisions', revision_path(params[:id]) %>
5<%= link_to_path 'published version', @node.unique_path %>. 5<% end %>
6</p> 6
7<p> 7
8 View the revisions of this node 8<div id="page_editor" class="show_node">
9</p> \ No newline at end of file 9 <table id="content">
10 <tr>
11 <th class="description"></th>
12 <th class="content"></th>
13 </tr>
14 <tr>
15 <td class="description">Title</td>
16 <td><%= @page.title %></td>
17 </tr>
18 <tr>
19 <td class="description">Abstract</td>
20 <td><%= @page.abstract %></td>
21 </tr>
22 <tr>
23 <td class="description">Body</td>
24 <td><%= @page.body %></td>
25 </tr>
26 <tr>
27 <td></td>
28 <td class="right"></td>
29 </tr>
30 </table>
31</div> \ No newline at end of file