div class modal-header button type button class close data-dismiss mod

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="cancel()">&times;</button>
<h4 class="modal-title" id="addContact">Contact details</h4>
</div>
<form handle-errors name="form">
<div class="modal-body">
<form-errors></form-errors>
<fieldset class="grey-fieldset padding">
<div class="form-group">
<div class="row">
<div class="col-sm-9">
<label for="input-m-1" class="col-sm-4">Email<span class="mandatory-field">*</span></label>
<div class="col-sm-8">
<input type="text" class="form-control" placeholder="Email" name='email' ng-model="model.email"/>
</div><!-- col -->
</div>
</div>
</div><!-- form-group -->
<div class="form-group">
<div class="row">
<div class="col-sm-9">
<label for="input-m-1" class="col-sm-4">Name<span class="mandatory-field">*</span></label>
<div class="col-sm-8">
<input type="text" class="form-control" placeholder="Name" name='name' ng-model="model.name"/>
</div><!-- col -->
</div>
</div>
</div><!-- form-group -->
<div class="form-group">
<div class="row">
<div class="col-sm-9">
<label for="input-m-1" class="col-sm-4">Title<span class="mandatory-field">*</span></label>
<div class="col-sm-8">
<input type="text" class="form-control" placeholder="Title" name='title' ng-model="model.title"/>
</div><!-- col -->
</div>
</div>
</div><!-- form-group -->
</fieldset>
</div>
<div class="modal-footer">
<button class="custom-btn" submit ng-click='save()'>Save</button>
<button class="custom-btn btn-transpent" ng-click='cancel()'>Cancel</button>
</div>
</form>