Commit 045f22b9 authored by Ryan Herbert's avatar Ryan Herbert

replace File with Sample in upload form

parent 15525158
......@@ -254,7 +254,7 @@ FileFormBuilder.prototype = Object.create(FormBuilder.prototype);
FileFormBuilder.prototype.build = function(index) {
this.index = index;
var div = this.build_div('file');
var div = this.build_div('sample');
div.appendChild(this.createCloseButton());
div.appendChild(this.build_hidden_fields());
div.appendChild(this.build_file_div());
......
<div>
<div>File {{=i+1}}</div>
<div>Sample {{=i+1}}</div>
{{ if file is not None and 'error' in file and len(file['error']) > 0: }}
<div class="error">error: {{=", ".join(file['error'])}}</div>
{{ pass }}
......
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