diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-26 17:22:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-26 17:22:27 +0000 |
commit | f12315075fc5780c68093610295ace7ae2c4ac78 (patch) | |
tree | 238b51dc311c42a169a35e8e37fd940c31e5ae19 /app/views/wiki | |
parent | c99da154452d97e9ffed933e9645db60f66cdf52 (diff) | |
download | redmine-f12315075fc5780c68093610295ace7ae2c4ac78.tar.gz redmine-f12315075fc5780c68093610295ace7ae2c4ac78.zip |
Optimistic locking added for wiki edits.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@545 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/edit.rhtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 1c0139e73..43f2ba5fa 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -5,6 +5,7 @@ <h2><%= @page.pretty_title %></h2> <% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %> +<%= f.hidden_field :version %> <%= error_messages_for 'content' %> <div class="contextual"> <%= l(:setting_text_formatting) %>: |