diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-button-panel/form-button-panel.component.html')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-button-panel/form-button-panel.component.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-button-panel/form-button-panel.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-button-panel/form-button-panel.component.html new file mode 100644 index 000000000..944541f2e --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-button-panel/form-button-panel.component.html @@ -0,0 +1,12 @@ +<div [class]="wrappingClass"> + <cd-back-button *ngIf="showCancel" + class="m-2" + (backAction)="backAction()" + [name]="cancelText"></cd-back-button> + <cd-submit-button *ngIf="showSubmit" + (submitAction)="submitAction()" + [disabled]="disabled" + [form]="form" + [ariaLabel]="submitText" + data-cy="submitBtn">{{ submitText }}</cd-submit-button> +</div> |