文件上传页面增加前端限制

master
james.zhao 6 years ago
parent c29d18b0a4
commit c2397259e0

@ -325,7 +325,7 @@
<img ng-src="{{material.file10_url}}" class="col-sm-10 logo-width"></a>
</div>
</div>
<div class="form-group">
<div class="form-group" ng-class="{'has-error':uploadForm.description.$invalid && uploadForm.description.$dirty}">
<label class="control-label col-sm-3">* Description</label>
<div class="col-sm-9">
<textarea class="form-control" required
@ -344,7 +344,7 @@
</form>
<div style="text-align: center">
<a role="button" style="margin-bottom: 25px;" class="btn btn-success btn-sm ng-scope"
<a role="button" style="margin-bottom: 25px;" class="btn btn-success btn-sm ng-scope" ng-disabled="!(material.description)"
ng-click="submit(uploadForm)">Submit</a>
</div>

Loading…
Cancel
Save