diff options
| author | hukl <contact@smyck.org> | 2009-02-22 11:27:51 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-22 11:27:51 +0100 |
| commit | e0d5557a9e7f88050da2ccb42e02397952cded0d (patch) | |
| tree | a2870b9ebab8081ab725d3ee6bbb851527f50067 /app/views/nodes/edit.html.erb | |
| parent | ea36234c990336cfa4a3ee1b6b80d5c9863c0676 (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.erb | 16 |
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> | ||
