##// END OF EJS Templates
enumerations/list redesign...
enumerations/list redesign git-svn-id: http://redmine.rubyforge.org/svn/trunk@139 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r128:6487c1803fa9
r136:9f76b4d2ef9f
Show More
add_file.rhtml
14 lines | 750 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_attachment_new)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <%= error_messages_for 'attachment' %>
Jean-Philippe Lang
fixed bug when no version is selected in projects/add_file...
r94 <div class="box">
<%= start_form_tag ({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") %>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
fixed bug when no version is selected in projects/add_file...
r94 <p><label for="version_id"><%=l(:field_version)%> <span class="required">*</span></label>
<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %></p>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
added multiple file upload for documents and files modules...
r127 <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>&nbsp;
<%= link_to_function image_tag('add'), "addFileField()" %></label>
Jean-Philippe Lang
option to set maximum size of uploaded files...
r128 <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= human_size(Attachment.max_size) %>)</em></p>
Jean-Philippe Lang
fixed bug when no version is selected in projects/add_file...
r94 </div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <%= submit_tag l(:button_add) %>
Jean-Philippe Lang
Initial commit...
r2 <%= end_form_tag %>