summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents')
-rw-r--r--app/views/documents/edit.html.erb2
-rw-r--r--app/views/documents/index.html.erb2
-rw-r--r--app/views/documents/new.html.erb2
-rw-r--r--app/views/documents/show.html.erb2
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>