course details changes done

This commit is contained in:
gandhimathi 2018-01-08 11:55:13 +05:30
parent 4c8162818a
commit 9dbbad29dd

View File

@ -17,7 +17,7 @@
<input type="text" placeholder="Enter Course ID"
tabindex="1" class="form-control" name="coursecode"
ng-model="p.CourseID" ng-pattern="/^[a-zA-Z0-9\s]*$/" readonly required/>
ng-model="p.CourseID" ng-pattern="/^[a-zA-Z0-9-\s]*$/" readonly required/>
<span class="error text-small block"
ng-if="Form.coursecode.$dirty && Form.coursecode.$error.required">Course id is required</span>
<span class="error text-small block"
@ -99,10 +99,10 @@
<div class="row">
<div class="col-md-12">
<fieldset> <legend> {{myModelRegular1.FeesName}} </legend>
<fieldset> <legend> Single </legend>
<div class="row">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.regularFees.$dirty && Form.regularFees.$invalid}">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.regularFees.$dirty && Form.regularFees.$invalid}" ng-if="myModelRegular1.program=='P001'">
<label>
{{myModelRegular1.programName}} Fees
</label>
@ -115,7 +115,7 @@
ng-if="Form.regularFees.$error.maxlength || Form.regularFees.$error.pattern">Enter a valid amount</span>
</div>
<div class="col-md-6 form-group" ng-class="{'has-error':Form.lateralFees.$dirty && Form.lateralFees.$invalid}">
<div class="col-md-6 form-group" ng-class="{'has-error':Form.lateralFees.$dirty && Form.lateralFees.$invalid}" ng-if="myModelLateral1.program=='P002'">
<label>
{{myModelLateral1.programName}} Fees
</label>