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