editRow.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <table class="table no-bg">
  2. <tr>
  3. <td rowspan="2">ID: {{p.id}}
  4. <input type="hidden" name="id" value="{{p.id}}">
  5. </td>
  6. <td>Firstname:</td>
  7. <td>
  8. <input class="form-control" type="text" name="fn" class="w100" ng-model="p.fn">
  9. </td>
  10. <td>Description: </td>
  11. <td>
  12. <input class="form-control" type="text" name="dc" class="w180" ng-model="p.dc">
  13. </td>
  14. <td>Email:</td>
  15. <td>
  16. <input class="form-control" type="text" name="em" class="w180" ng-model="p.em">
  17. </td>
  18. </tr>
  19. <tr>
  20. <td>Lastname:</td>
  21. <td>
  22. <input class="form-control" type="text" name="ln" class="w100" ng-model="p.ln">
  23. </td>
  24. <td>Phone: </td>
  25. <td>
  26. <input class="form-control" type="text" name="ph" class="w120" ng-model="p.ph">
  27. </td>
  28. <td colspan="2">
  29. <div class="pull-right">
  30. <input type="button" class="btn btn-primary btn-sm margin-right-15" value=" save " onclick="alert('Save :)')">
  31. <input type="button" class="btn btn-primary btn-sm" value=" cancel" ng-click="setEditId(-1)">
  32. </div></td>
  33. </tr>
  34. </table>
  35. <!-- class="editRowTd" -->