<h2 class="text-center">Upload JMeter scenario</h2>
<hr>
<form name="form" enctype="multipart/form-data" novalidate ng-submit="nextStep('/step7', form)">
    {% csrf_token %}
    <div class="form-group" ng-class="{'has-error' : submitted && form.num_threads.$invalid}">
        <label>
            Number of threads:
        </label>
        <input type="number" name="num_threads" min="0" max="5000" ng-model="formData.num_threads" class="form-control">
        <span class="help-block" ng-show="submitted && form.num_threads.$invalid">Required</span>
    </div>
    <div class="form-group">
        <label>
            Upload scenario
        </label>
        <div  class="dropzone" style="">
            <div ng-class="{'ng-hide' : uploaded}" class="dz-message">
                Click or drop scenario here
            </div>
        </div>
    </div>
    <hr>
    <div class="text-center">
        <button name="prev" type="button" ng-click="prevStep('/step4')" class="btn btn-primary">Prev</button>
        <button name="next" type="submit" class="btn btn-primary">Next</button>
    </div>
</form>
