annotate app/views/attachments/.svn/text-base/_form.rhtml.svn-base @ 461:841b2e40895d
feature_36
Adding other projects to publication - created query for projects and controller actions to be used in the AJAX call; still need to get the AJAX call working
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Fri, 17 Jun 2011 18:59:49 +0100 |
parents |
cca12e1c1fd4 |
children |
|
rev |
line source |
Chris@0
|
1 <span id="attachments_fields">
|
Chris@1
|
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 %>
|
Chris@0
|
3 </label>
|
Chris@0
|
4 </span>
|
Chris@0
|
5 <br />
|
Chris@0
|
6 <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %>
|
Chris@0
|
7 (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
|
Chris@0
|
8 </small>
|