diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-20 09:53:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-20 09:53:44 +0000 |
commit | e72778ea84d00f98f9d381faa6902e260d3a148f (patch) | |
tree | 3cf7016d85fa0be69cb341c6be5372c1a809c5f3 /app/views | |
parent | a824017d8cde58367ba4a78804a1c198cc19d524 (diff) | |
download | redmine-e72778ea84d00f98f9d381faa6902e260d3a148f.tar.gz redmine-e72778ea84d00f98f9d381faa6902e260d3a148f.zip |
Removed some spaces before argument parentheses.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@449 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/my/blocks/_news.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 759c54f5e..c8fd5c7dd 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -92,7 +92,7 @@ end %> </table> <br /> <% if authorize_for('issues', 'add_attachment') %> - <% form_tag ({ :controller => 'issues', :action => 'add_attachment', :id => @issue }, :multipart => true, :class => "tabular") do %> + <% form_tag({ :controller => 'issues', :action => 'add_attachment', :id => @issue }, :multipart => true, :class => "tabular") do %> <p id="attachments_p"><label><%=l(:label_attachment_new)%> <%= 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> diff --git a/app/views/my/blocks/_news.rhtml b/app/views/my/blocks/_news.rhtml index 4c7e2729a..d86cced92 100644 --- a/app/views/my/blocks/_news.rhtml +++ b/app/views/my/blocks/_news.rhtml @@ -1,6 +1,6 @@ <h3><%=l(:label_news_latest)%></h3> -<%= render (:partial => 'news/news', +<%= render(:partial => 'news/news', :collection => News.find(:all, :limit => 10, :order => "#{News.table_name}.created_on DESC", |