]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / rbd-snapshot-form / rbd-snapshot-form-modal.component.html
index 9a32a3ce887d6dd9824d32e7b0e2466dfa4e05c8..3b15b0aae69ec519f93526fa9ae0b0ff212dea35 100644 (file)
@@ -1,4 +1,4 @@
-<cd-modal [modalRef]="modalRef">
+<cd-modal [modalRef]="activeModal">
   <ng-container i18n="form title|Example: Create rbdSnapshot@@formTitle"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
       </div>
 
       <div class="modal-footer">
-        <div class="button-group text-right">
-          <cd-submit-button [form]="snapshotForm"
-                            i18n="form action button|Example: Create rbdSnapshot@@formActionButton"
-                            (submitAction)="submit()">{{ action | titlecase }}
-            {{ resource | upperFirst }}</cd-submit-button>
-          <cd-back-button [back]="modalRef.hide"
-                          name="Close"
-                          i18n-name>
-          </cd-back-button>
-        </div>
+        <cd-form-button-panel (submitActionEvent)="submit()"
+                              [form]="snapshotForm"
+                              [submitText]="(action | titlecase) + ' ' + (resource | upperFirst)"></cd-form-button-panel>
       </div>
     </form>
   </ng-container>