From 8739c4a638ab0bee472b0f2158e045d21a902e0e Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Tue, 30 Aug 2011 12:23:23 +0000
Subject: [PATCH] LMS-2463 UI consistency - show materials template file link
 above the field for uploading file

SVN: 22704
---
 .../material/AbstractMaterialBatchRegistrationForm.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/AbstractMaterialBatchRegistrationForm.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/AbstractMaterialBatchRegistrationForm.java
index d3632a87fb5..0f9ee7d898b 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/AbstractMaterialBatchRegistrationForm.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/AbstractMaterialBatchRegistrationForm.java
@@ -115,11 +115,11 @@ abstract class AbstractMaterialBatchRegistrationForm extends AbstractRegistratio
     private final void addFormFields()
     {
         addSpecificFormFields(formPanel);
+        formPanel.add(createTemplateField());
         for (FileUploadField attachmentField : fileFieldsManager.getFields())
         {
             formPanel.add(wrapUnaware((Field<?>) attachmentField).get());
         }
-        formPanel.add(createTemplateField());
         formPanel.addListener(Events.Submit, new FormPanelListener(infoBox)
             {
                 @Override
-- 
GitLab