Removed some parentheses before arguments.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@469 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-04-22 21:19:16 +00:00
parent eea1878a3b
commit e02068eb2a
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<% if authorize_for('documents', 'add_attachment') %> <% if authorize_for('documents', 'add_attachment') %>
<p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p> <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)%> <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>
<%= image_to_function "add.png", "addFileField();return false" %></label> <%= 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> <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>

View File

@ -25,7 +25,7 @@
<% unless @tracker.nil? or @role.nil? %> <% unless @tracker.nil? or @role.nil? %>
<div class="box"> <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> <table>
<tr> <tr>
<td align="center"><strong><%=l(:label_current_status)%></strong></td> <td align="center"><strong><%=l(:label_current_status)%></strong></td>