<div class="form-buttons loading-indicator-container" data-toolbar-type="content">
    <a
        href="javascript:;"
        class="btn btn-primary oc-icon-check save"
        data-request="onSave"
        data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
        data-hotkey="ctrl+s, cmd+s">
        <?= e(trans('backend::lang.form.save')) ?>
    </a>

    <?= $this->makePartial('~/modules/cms/controllers/index/_button_commit.htm'); ?>

    <?= $this->makePartial('~/modules/cms/controllers/index/_button_reset.htm'); ?>

    <button
        type="button"
        class="btn btn-default empty oc-icon-trash-o <?php if (!$objectPath): ?>hide<?php endif ?>"
        data-request="onDelete"
        data-request-confirm="<?= e(trans('cms::lang.content.delete_confirm_single')) ?>"
        data-request-success="$.wn.pagesPage.updateObjectList('content'); $(this).trigger('close.oc.tab', [{force: true}])"
        data-control="delete-button">
    </button>

    <?= $this->makePartial('~/modules/cms/controllers/index/_button_lastmodified.htm'); ?>
</div>