diff options
| author | hukl <contact@smyck.org> | 2009-04-16 12:14:45 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-16 12:14:45 +0200 |
| commit | 7fe358bfb11f1cba4ee9237c4ef4b7efc3cfba87 (patch) | |
| tree | a4ee5095b0ff151891d0ec402dc5b00bedb9a565 /app/views/nodes/edit.html.erb | |
| parent | 7176edae9b93eb00e7982ec2d9a69f5b28633907 (diff) | |
added autosave to node edit view. saves every 15 seconds
Diffstat (limited to 'app/views/nodes/edit.html.erb')
| -rw-r--r-- | app/views/nodes/edit.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index d8fb8b4..0d0b0d3 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -5,6 +5,8 @@ | |||
| 5 | <%= link_to 'Revisions', revision_path(params[:id]) %> | 5 | <%= link_to 'Revisions', revision_path(params[:id]) %> |
| 6 | <% end %> | 6 | <% end %> |
| 7 | 7 | ||
| 8 | <%= render :partial => 'autosave' %> | ||
| 9 | |||
| 8 | <div id="page_editor"> | 10 | <div id="page_editor"> |
| 9 | <% form_for(@node) do |f| %> | 11 | <% form_for(@node) do |f| %> |
| 10 | <%= f.error_messages %> | 12 | <%= f.error_messages %> |
