Commit 62aa5414 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

views/partial/file/form.html: Second field only required, with a pre-process

Cannot be tested as our test infrastructure relies on network_source…

Fixes #4229
parent 9d140cdb
Pipeline #135591 passed with stages
in 6 minutes and 52 seconds
......@@ -33,7 +33,7 @@
<input class="upload_field form-control" id="file_upload_2_{{=i}}" type="file"
{{if network_source:}}
disabled
{{elif not isEditing:}}
{{elif not isEditing and required_files >= 2:}}
required
{{pass}}
title="second file for this sample (.fa, .fastq, .fa.gz, .fastq.gz)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment