course details changes done

This commit is contained in:
gandhimathi 2017-12-18 12:52:10 +05:30
parent b60e8d8261
commit d55fb115b4

View File

@ -32,7 +32,7 @@
</section>
<!-- end: PAGE TITLE -->
<!-- start: LIST GROUP -->
<div class="container-fluid container-fullw bg-white" ng-controller="feesStatusCtrl" data-ng-init="init(viewForm,myModel,'')">
<div class="container-fluid container-fullw bg-white" ng-controller="feesStatusCtrl" data-ng-init="init()">
<form name="Form" id="form" novalidate method="post">
<div class="row">
@ -59,10 +59,32 @@
<input type="text" placeholder="Search Student Name"
tabindex="2" class="form-control" name="studentname"
ng-model="myModel.studentName" ng-pattern="/^[a-zA-Z.\s]*$/"/>
ng-model="myModel.studentName" ng-pattern="/^[a-zA-Z.\s]*$/" ng-change="getStudentDetails(Form,myModel);" />
<span class="error text-small block"
ng-if="Form.studentname.$dirty && Form.studentname.$error.pattern">Invalid student name </span>
</div>
<div class="col-md-3 form-group">
<label>
University
</label>
<select class="form-control" name="university" tabindex="3" id="university"
ng-model="myModel.universityName"
ng-options="details.universityName for details in university" ng-change="getStudentDetails(Form,myModel);">
<option value=""> Select University</option>
</select>
</div>
<div class="col-md-3 form-group">
<label>
Course
</label>
<select class="form-control" name="course" tabindex="4" id="course"
ng-model="myModel.courseName"
ng-options="courseDetails.CourseID as courseDetails.CourseName for courseDetails in myModel.universityName.courseDetails" ng-change="getStudentDetails(Form,myModel);">
<option value=""> Select Course</option>
</select>
</div>
</div>
</fieldset>