]> source.dussan.org Git - redmine.git/commitdiff
Removed some parentheses before arguments.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 22 Apr 2007 21:19:16 +0000 (21:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 22 Apr 2007 21:19:16 +0000 (21:19 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@469 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/documents/show.rhtml
app/views/roles/workflow.rhtml

index 7a72e2bd2f12fe74ad184b390e8cde30bf469bcf..9f530539f111c76ce4fb324a404cd8a4fe102141 100644 (file)
@@ -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>
index 2963d3dcabbf08ff4de3a4c01dc280f6ef8f603d..e8d614b0b6925eafa58a9eeca08ef94a22bc57e0 100644 (file)
@@ -25,7 +25,7 @@
 
 <% unless @tracker.nil? or @role.nil? %>
 <div class="box">
-  <% form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %>
+  <% form_tag({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %>
        <table>
        <tr>
        <td align="center"><strong><%=l(:label_current_status)%></strong></td>