diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-25 17:17:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-25 17:17:49 +0000 |
commit | 5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7 (patch) | |
tree | 93e57765139714bd82dede475725516c448c0d55 /app/views/documents | |
parent | 34e20c4373b7f5a20ab3a132feae3f70f21ec477 (diff) | |
download | redmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.tar.gz redmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.zip |
Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-rw-r--r-- | app/views/documents/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/documents/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/documents/new.html.erb | 2 | ||||
-rw-r--r-- | app/views/documents/show.html.erb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/documents/edit.html.erb b/app/views/documents/edit.html.erb index 04e9b72e1..15491168d 100644 --- a/app/views/documents/edit.html.erb +++ b/app/views/documents/edit.html.erb @@ -1,6 +1,6 @@ <h2><%=l(:label_document)%></h2> -<% labelled_form_for @document do |f| %> +<%= labelled_form_for @document do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <p><%= submit_tag l(:button_save) %></p> <% end %> diff --git a/app/views/documents/index.html.erb b/app/views/documents/index.html.erb index d3658dac6..fd47c3842 100644 --- a/app/views/documents/index.html.erb +++ b/app/views/documents/index.html.erb @@ -5,7 +5,7 @@ <div id="add-document" style="display:none;"> <h2><%=l(:label_document_new)%></h2> -<% labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %> +<%= labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <p> <%= submit_tag l(:button_create) %> diff --git a/app/views/documents/new.html.erb b/app/views/documents/new.html.erb index 772093e31..a34391e31 100644 --- a/app/views/documents/new.html.erb +++ b/app/views/documents/new.html.erb @@ -1,6 +1,6 @@ <h2><%=l(:label_document_new)%></h2> -<% labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %> +<%= labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <p><%= submit_tag l(:button_create) %></p> <% end %> diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index fded30052..f65d5ae88 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -19,7 +19,7 @@ <% if authorize_for('documents', 'add_attachment') %> <p><%= link_to l(:label_attachment_new), {}, :onclick => "Element.show('add_attachment_form'); Element.hide(this); Element.scrollTo('add_attachment_form'); return false;", :id => 'attach_files_link' %></p> - <% form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %> + <%= form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %> <div class="box"> <p><%= render :partial => 'attachments/form' %></p> </div> |