From 6487c1803fa947f73c4667bb10f762a98487aa1b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 1 Jan 2007 12:09:09 +0000 Subject: option to set maximum size of uploaded files git-svn-id: http://redmine.rubyforge.org/svn/trunk@131 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/add_file.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/projects/add_file.rhtml') diff --git a/app/views/projects/add_file.rhtml b/app/views/projects/add_file.rhtml index 41c208431..5ae6dde29 100644 --- a/app/views/projects/add_file.rhtml +++ b/app/views/projects/add_file.rhtml @@ -9,7 +9,7 @@

-<%= file_field_tag 'attachments[]', :size => 30 %>

+<%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= human_size(Attachment.max_size) %>)

<%= submit_tag l(:button_add) %> <%= end_form_tag %> \ No newline at end of file -- cgit v1.2.3