@@ -29,7 +29,7 | |||
|
29 | 29 | |
|
30 | 30 | <% if authorize_for('documents', 'add_attachment') %> |
|
31 | 31 | <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p> |
|
32 |
<% form_tag |
|
|
32 | <% form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %> | |
|
33 | 33 | <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%> |
|
34 | 34 | <%= image_to_function "add.png", "addFileField();return false" %></label> |
|
35 | 35 | <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p> |
@@ -25,7 +25,7 | |||
|
25 | 25 | |
|
26 | 26 | <% unless @tracker.nil? or @role.nil? %> |
|
27 | 27 | <div class="box"> |
|
28 |
<% form_tag |
|
|
28 | <% form_tag({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %> | |
|
29 | 29 | <table> |
|
30 | 30 | <tr> |
|
31 | 31 | <td align="center"><strong><%=l(:label_current_status)%></strong></td> |
General Comments 0
You need to be logged in to leave comments.
Login now