Ver código fonte

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 anos atrás
pai
commit
d360ca4e14
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4
    2
      app/views/wiki/edit.html.erb

+ 4
- 2
app/views/wiki/edit.html.erb Ver arquivo

@@ -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 %>

Carregando…
Cancelar
Salvar