@@ -1,6 +1,5 | |||||
1 | <span id="attachments_fields"> |
|
1 | <span id="attachments_fields"> | |
2 | <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%> |
|
2 | <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%><label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> | |
3 | <label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> |
|
|||
4 | </label> |
|
3 | </label> | |
5 | </span> |
|
4 | </span> | |
6 | <br /> |
|
5 | <br /> |
@@ -52,7 +52,7 function addFileField() { | |||||
52 | d.type = "text"; |
|
52 | d.type = "text"; | |
53 | d.name = "attachments[" + fileFieldCount + "][description]"; |
|
53 | d.name = "attachments[" + fileFieldCount + "][description]"; | |
54 | d.size = 60; |
|
54 | d.size = 60; | |
55 |
var dLabel = |
|
55 | var dLabel = new Element('label'); | |
56 | dLabel.addClassName('inline'); |
|
56 | dLabel.addClassName('inline'); | |
57 | // Pulls the languge value used for Optional Description |
|
57 | // Pulls the languge value used for Optional Description | |
58 | dLabel.update($('attachment_description_label_content').innerHTML) |
|
58 | dLabel.update($('attachment_description_label_content').innerHTML) |
General Comments 0
You need to be logged in to leave comments.
Login now