Skip to content
Snippets Groups Projects
Commit 8739c4a6 authored by tpylak's avatar tpylak
Browse files

LMS-2463 UI consistency - show materials template file link above the field for uploading file

SVN: 22704
parent f0c72b89
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment