summaryrefslogtreecommitdiffstats
path: root/app/views/wiki
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/wiki')
-rw-r--r--app/views/wiki/edit.html.erb7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/wiki/edit.html.erb b/app/views/wiki/edit.html.erb
index 6692cfa6e..60a2f6596 100644
--- a/app/views/wiki/edit.html.erb
+++ b/app/views/wiki/edit.html.erb
@@ -57,14 +57,11 @@
<p>
<%= submit_tag l(:button_save) %>
- <%= preview_link({:controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title }, 'wiki_form') %>
- | <%= link_to l(:button_cancel), wiki_page_edit_cancel_path(@page) %>
+ <%= link_to l(:button_cancel), wiki_page_edit_cancel_path(@page) %>
</p>
-<%= wikitoolbar_for 'content_text' %>
+<%= wikitoolbar_for 'content_text', preview_project_wiki_page_path(:project_id => @project, :id => @page.title) %>
<% end %>
-<div id="preview" class="wiki"></div>
-
<% content_for :header_tags do %>
<%= robot_exclusion_tag %>
<% end %>