diff options
| author | hukl <contact@smyck.org> | 2009-04-13 20:37:16 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-13 20:37:16 +0200 |
| commit | 06dee9ab33701e40a5adfcf87767fb807621fa32 (patch) | |
| tree | 73a7fc1307dcd2f9e41a42d575511bda1b5c0296 /app/views/nodes | |
| parent | 22aa8523ef5864d736faf6595ef258adc0689703 (diff) | |
beautified the revision and diff interface. so pretty and so functional. i'm happy
Diffstat (limited to 'app/views/nodes')
| -rw-r--r-- | app/views/nodes/edit.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 6a243a7..d8fb8b4 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> | 2 | <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> |
| 3 | <%= link_to 'Preview', @node %> | 3 | <%= link_to 'Preview', @node %> |
| 4 | <%= link_to 'Publish', publish_node_path, :method => :put, :confirm => "Publish this draft?" %> | 4 | <%= link_to 'Publish', publish_node_path, :method => :put, :confirm => "Publish this draft?" %> |
| 5 | <%= link_to 'Revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> | 5 | <%= link_to 'Revisions', revision_path(params[:id]) %> |
| 6 | <% end %> | 6 | <% end %> |
| 7 | 7 | ||
| 8 | <div id="page_editor"> | 8 | <div id="page_editor"> |
| @@ -30,7 +30,7 @@ | |||
| 30 | </tr> | 30 | </tr> |
| 31 | </table> | 31 | </table> |
| 32 | 32 | ||
| 33 | <table> | 33 | <table id="content"> |
| 34 | <tr> | 34 | <tr> |
| 35 | <td class="description">Title</td> | 35 | <td class="description">Title</td> |
| 36 | <td><%= d.text_field :title %></td> | 36 | <td><%= d.text_field :title %></td> |
