File tree Expand file tree Collapse file tree 1 file changed +9
-28
lines changed
angular/src/account/tenant Expand file tree Collapse file tree 1 file changed +9
-28
lines changed Original file line number Diff line number Diff line change 4
4
#changeTenantForm ="ngForm "
5
5
(ngSubmit) ="save() "
6
6
>
7
- < div class ="modal-header ">
8
- < h4 class ="modal-title "> {{ "ChangeTenant" | localize }}</ h4 >
9
- < button
10
- type ="button "
11
- class ="close "
12
- aria-label ="Close "
13
- (click) ="bsModalRef.hide() "
14
- >
15
- < span aria-hidden ="true "> ×</ span >
16
- </ button >
17
- </ div >
7
+ < abp-modal-header
8
+ [title] ="'ChangeTenant' | localize "
9
+ (onCloseClick) ="bsModalRef.hide() "
10
+ > </ abp-modal-header >
18
11
< div class ="modal-body ">
19
12
< div class ="form-group row ">
20
13
< label class ="col-md-3 col-form-label " for ="tenancyName ">
@@ -36,21 +29,9 @@ <h4 class="modal-title">{{ "ChangeTenant" | localize }}</h4>
36
29
{{ "LeaveEmptyToSwitchToHost" | localize }}
37
30
</ span >
38
31
</ div >
39
- < div class ="modal-footer justify-content-between ">
40
- < button
41
- type ="button "
42
- class ="btn btn-default "
43
- [disabled] ="saving "
44
- (click) ="bsModalRef.hide() "
45
- >
46
- {{ "Cancel" | localize }}
47
- </ button >
48
- < button
49
- type ="submit "
50
- class ="btn btn-primary "
51
- [disabled] ="!changeTenantForm.form.valid || saving "
52
- >
53
- {{ "Save" | localize }}
54
- </ button >
55
- </ div >
32
+ < abp-modal-footer
33
+ [cancelDisabled] ="saving "
34
+ [saveDisabled] ="!changeTenantForm.form.valid || saving "
35
+ (onCancelClick) ="bsModalRef.hide() "
36
+ > </ abp-modal-footer >
56
37
</ form >
You can’t perform that action at this time.
0 commit comments