Skip to content

Instantly share code, notes, and snippets.

@A2H111
Created July 2, 2017 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save A2H111/ecb653b2b8e21b8c9b542643c277a94a to your computer and use it in GitHub Desktop.
Save A2H111/ecb653b2b8e21b8c9b542643c277a94a to your computer and use it in GitHub Desktop.
<script type="text/ng-template" id="ModalWindow.html">
<div class="modal-header">
<h3 class="modal-title">Add new Record</h3>
</div>
<div class="modal-body">
<div class="table-responsive">
<table class="col-md-12 table-bordered table-striped table-condensed">
<tbody>
<tr>
<td>Customer Name</td>
<td><input type="text" id="txtCustomerName" ng-model="txtCustomerNameVal" class="form-control" /></td>
</tr>
<tr>
<td>Company Name</td>
<td><input type="text" id="txtCompanyName" class="form-control" ng-model="txtCompanyNameVal" /></td>
</tr>
<tr>
<td>Contact Name</td>
<td><input type="text" id="txtContactName" class="form-control" ng-model="txtContactNameVal" /></td>
</tr>
<tr>
<td>Contact Title</td>
<td><input type="text" id="txtContactTitle" class="form-control" ng-model="txtContactTitleVal" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-success" type="button" ng-click="AddCustomer()" id="btnSave">Save</button>
<button class="btn btn-warning" type="button" ng-click="closeModalWindow()">Cancel</button>
</div>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment