course details changes done
This commit is contained in:
parent
ec20421f29
commit
94a6828578
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user