refs #48 Double attachment form
This commit is contained in:
parent
f2c0b5b217
commit
9e9d1250aa
@ -138,7 +138,7 @@ module RedmineDmsf
|
||||
# Add Dmsf upload form
|
||||
container = context[:container]
|
||||
if allowed_to_attach_documents(container)
|
||||
html = "<p class=\"#{(User.current.pref[:dmsf_attachments_upload_choice] == 'Attachments') ? 'hol' : ''}\">"
|
||||
html = "<p style=\"#{(User.current.pref[:dmsf_attachments_upload_choice] == 'Attachments') ? 'display: none;' : ''}\">"
|
||||
if label
|
||||
html << "<label>#{l(:label_document_plural)}</label>"
|
||||
html << "<span class=\"attachments-container dmsf_uploader\">"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user