_form.rhtml
8 lines
| 530 B
| text/html+ruby
|
RhtmlLexer
|
r1166 | <span id="attachments_fields"> | ||
|
r3765 | <%= 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 %> | ||
|
r3636 | </label> | ||
|
r1166 | </span> | ||
<br /> | ||||
|
r1251 | <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> | ||
|
r1166 | (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>) | ||
</small> | ||||