diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-22 21:19:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-22 21:19:16 +0000 |
commit | e02068eb2a7c5fc00b00e824f342d8cebd4fff57 (patch) | |
tree | 42a2b79162747a9bd1dd034f51d2f539ec20d7df /app/views/documents | |
parent | eea1878a3be46c8f7c80ac2d89c5957f50146218 (diff) | |
download | redmine-e02068eb2a7c5fc00b00e824f342d8cebd4fff57.tar.gz redmine-e02068eb2a7c5fc00b00e824f342d8cebd4fff57.zip |
Removed some parentheses before arguments.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@469 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-rw-r--r-- | app/views/documents/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 7a72e2bd2..9f530539f 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -29,7 +29,7 @@ <% if authorize_for('documents', 'add_attachment') %> <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p> - <% form_tag ({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %> + <% form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %> <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%> <%= image_to_function "add.png", "addFileField();return false" %></label> <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p> |