course details changes done

This commit is contained in:
gandhimathi 2018-02-14 11:15:29 +05:30
parent ec20421f29
commit 94a6828578

View File

@ -52,7 +52,7 @@
<div class="col-md-4">
<div class="form-group"
ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid, 'has-success':Form.status.$valid}">
ng-class="{'has-error':Form.status.$dirty && Form.status.$invalid && companies.status.length==0, 'has-success':Form.status.$valid}">
<label >
Status<span
class="symbol required"></span>
@ -68,11 +68,11 @@
</ui-select-choices>
</ui-select>
<input type="hidden" name="status"
<input class="ng-hide" name="status"
ng-model="companies.status"
required>
<span class="error text-small block"
ng-if="Form.status.$dirty && Form.status.$error.required && myModel.status.length!=0">Status is required.</span>
ng-if="Form.status.$dirty && Form.status.$error.required && companies.status.length==0">Status is required.</span>
<!--<span class="success text-small block"-->
<!--ng-if="Form.subjects.$valid && myModel.subjects.length!=0">Thank You</span>-->
</div>