Browse Source

code layout cleanup app/views/wiki/edit.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8793 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.4.0
Toshi MARUYAMA 12 years ago
parent
commit
d360ca4e14
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      app/views/wiki/edit.html.erb

+ 4
- 2
app/views/wiki/edit.html.erb View File

@@ -1,8 +1,10 @@
<%= wiki_page_breadcrumb(@page) %>

<h2><%=h @page.pretty_title %></h2>
<h2><%= h @page.pretty_title %></h2>

<% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
<% form_for :content, @content,
:url => {:action => 'update', :id => @page.title},
:html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
<%= f.hidden_field :version %>
<% if @section %>
<%= hidden_field_tag 'section', @section %>

Loading…
Cancel
Save