course details changes done
This commit is contained in:
parent
5ecee94235
commit
0507c2706e
@ -144,7 +144,7 @@
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group"
|
||||
ng-class="{'has-error':Form.university.$dirty && Form.university.$invalid || myModel.universityName.length==0, 'has-success':Form.university.$valid}">
|
||||
ng-class="{'has-error':Form.university.$dirty && Form.university.$invalid && myModel.universityName.length==0, 'has-success':Form.university.$valid}">
|
||||
<label>
|
||||
University <span class="symbol required"></span>
|
||||
</label>
|
||||
@ -168,11 +168,11 @@
|
||||
</ui-select-choices>
|
||||
</ui-select>
|
||||
|
||||
<input type="hidden" name="university"
|
||||
<input class="ng-hide" type="text" name="university"
|
||||
ng-model="myModel.universityName"
|
||||
required>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.university.$dirty && Form.university.$error.required || myModel.universityName.length==0">University is required.</span>
|
||||
ng-if="Form.university.$dirty && Form.university.$error.required && myModel.universityName.length==0">University is required.</span>
|
||||
<!--<span class="success text-small block"-->
|
||||
|
||||
|
||||
@ -183,7 +183,7 @@
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="pull-right">
|
||||
<button type="submit" ladda="ldloading1.zoom_in" tabindex="4" class="btn btn-wide btn-success" data-style="zoom-in" ng-disabled="myModel.universityName.length==0">
|
||||
<button type="submit" ladda="ldloading1.zoom_in" tabindex="4" class="btn btn-wide btn-success" data-style="zoom-in">
|
||||
Add
|
||||
</button>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user