summaryrefslogtreecommitdiff
path: root/app/views/nodes/edit.html.erb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-22 11:27:51 +0100
committerhukl <contact@smyck.org>2009-02-22 11:27:51 +0100
commite0d5557a9e7f88050da2ccb42e02397952cded0d (patch)
treea2870b9ebab8081ab725d3ee6bbb851527f50067 /app/views/nodes/edit.html.erb
parentea36234c990336cfa4a3ee1b6b80d5c9863c0676 (diff)
lots of view improvements - not ready though
Diffstat (limited to 'app/views/nodes/edit.html.erb')
-rw-r--r--app/views/nodes/edit.html.erb16
1 files changed, 6 insertions, 10 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index f457bc7..f6513a7 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -1,12 +1,6 @@
1<h1>Nodes#edit</h1>
2
3<%= link_to 'Publish', publish_node_path, :method => :put %>
4
5<h1>Editing page</h1> 1<h1>Editing page</h1>
6 2
7<%= I18n.locale %> 3<strong>Sprache:</strong> <%= I18n.locale %> <strong>Pfad:</strong> <%= @node.unique_name %>
8
9<%= @node.unique_name %>
10 4
11<div class="page_editor"> 5<div class="page_editor">
12 <% form_for(@node) do |f| %> 6 <% form_for(@node) do |f| %>
@@ -33,7 +27,9 @@
33 <%= f.submit "Update" %> 27 <%= f.submit "Update" %>
34 </p> 28 </p>
35 <% end %> 29 <% end %>
36 30
31
37 <%= link_to 'Show', @node %> | 32 <%= link_to 'Show', @node %> |
38 <%= link_to 'Back', nodes_path %> 33 <%= link_to 'Back', nodes_path %> |
39</div> \ No newline at end of file 34 <%= link_to 'Publish', publish_node_path, :method => :put %>
35</div>