Permalink
Browse files

Added placeholders for input

  • Loading branch information...
1 parent bac6c39 commit 39cacb2a94963c3d7d588e1d1a06d919d71ab556 @itswadesh committed Nov 15, 2015
Showing with 9 additions and 9 deletions.
  1. +9 −9 public/index.html
View
@@ -26,15 +26,15 @@
</thead>
<tbody>
<tr>
- <td><input class="form-control" ng-model="product.name" required="" type="text"></td>
- <td><input class="form-control" ng-model="product.sku" type="text"></td>
- <td><input class="form-control" ng-model="product.price" type="text"></td>
- <td><button class="btn btn-primary" ng-click="add(product)" ng-if="!product._id" type="submit" ng-disabled="!Codenx.$valid">Add Product</button>
- <div class="btn-group">
- <button class="btn btn-info" ng-click="update(product)" ng-if="product._id" type="submit">Update</button>
- <button class="btn" ng-click="deselect()" ng-if="product._id">Clear</button>
- </div>
- </td>
+ <td><input class="form-control" ng-model="product.name" required="" placeholder="Product Name"></td>
+ <td><input class="form-control" ng-model="product.sku" placeholder="Stock Control Unit"></td>
+ <td><input class="form-control" ng-model="product.price" placeholder="Should be a number"></td>
+ <td><button class="btn btn-primary" ng-click="add(product)" ng-if="!product._id" type="submit" ng-disabled="!Codenx.$valid">Add Product</button>
+ <div class="btn-group">
+ <button class="btn btn-info" ng-click="update(product)" ng-if="product._id" type="submit">Update</button>
+ <button class="btn" ng-click="deselect()" ng-if="product._id">Clear</button>
+ </div>
+ </td>
</tr>
<tr ng-repeat="product in products">
<td>{{product.name}}</td>

0 comments on commit 39cacb2

Please sign in to comment.