From e0d5557a9e7f88050da2ccb42e02397952cded0d Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 22 Feb 2009 11:27:51 +0100 Subject: lots of view improvements - not ready though --- app/views/nodes/edit.html.erb | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'app/views/nodes/edit.html.erb') 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 @@ -

Nodes#edit

- -<%= link_to 'Publish', publish_node_path, :method => :put %> -

Editing page

-<%= I18n.locale %> - -<%= @node.unique_name %> +Sprache: <%= I18n.locale %> Pfad: <%= @node.unique_name %>
<% form_for(@node) do |f| %> @@ -33,7 +27,9 @@ <%= f.submit "Update" %>

<% end %> - + + <%= link_to 'Show', @node %> | - <%= link_to 'Back', nodes_path %> -
\ No newline at end of file + <%= link_to 'Back', nodes_path %> | + <%= link_to 'Publish', publish_node_path, :method => :put %> + -- cgit v1.3