student_details_SuperAdmin.html for auto caps naming fields
This commit is contained in:
parent
9f10015666
commit
561c1c50ec
@ -351,7 +351,7 @@
|
||||
<label>
|
||||
First Name <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" name="firstname" ng-model="myModel.firstname"
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" style="text-transform: capitalize;" name="firstname" ng-model="myModel.firstname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.pattern">Invalid First Name </span>
|
||||
@ -360,7 +360,7 @@
|
||||
<label>
|
||||
Last Name <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="myModel.lastname"
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="myModel.lastname" style="text-transform: capitalize;"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.pattern">Invalid Last Name </span>
|
||||
@ -371,7 +371,7 @@
|
||||
<label>
|
||||
Father Name <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Father Name" tabindex="4" class="form-control" name="fathername" ng-model="myModel.fathername"
|
||||
<input type="text" placeholder="Enter Father Name" tabindex="4" class="form-control" name="fathername" ng-model="myModel.fathername" style="text-transform: capitalize;"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.pattern">Invalid Father Name </span>
|
||||
@ -381,7 +381,7 @@
|
||||
Mother Name <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Mother Name" tabindex="5" class="form-control" name="mothername" ng-model="myModel.mothername"
|
||||
<input type="text" placeholder="Enter Mother Name" tabindex="5" class="form-control" name="mothername" ng-model="myModel.mothername" style="text-transform: capitalize;"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Mother Name </span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user