diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-18 16:59:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-18 16:59:28 +0000 |
commit | 0006c5f3b0dc697b277faee328244f0dabe9d1c7 (patch) | |
tree | 8ce19da27ddfb46d60f85a172fe8be4d6714dc51 /app/views/common | |
parent | 3c42abe07e12932a6e839ab3f635f86745cb39ed (diff) | |
download | redmine-0006c5f3b0dc697b277faee328244f0dabe9d1c7.tar.gz redmine-0006c5f3b0dc697b277faee328244f0dabe9d1c7.zip |
New document form can be accessed from the document list with no additional request.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@851 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/_attachments_form.rhtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/common/_attachments_form.rhtml b/app/views/common/_attachments_form.rhtml new file mode 100644 index 000000000..673f4a52e --- /dev/null +++ b/app/views/common/_attachments_form.rhtml @@ -0,0 +1,6 @@ +<p id="attachments_p"> +<label for="attachment_file"><%=l(:label_attachment)%> +<%= image_to_function "add.png", "addFileField();return false" %></label> +<%= file_field_tag 'attachments[]', :size => 30 %> +<em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em> +</p> |