36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<div class="form-buttons loading-indicator-container">
|
|
<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>
|
|
|
|
<?php
|
|
$pageUrl = isset($pageUrl) ? $pageUrl : null;
|
|
?>
|
|
<a
|
|
href="<?= URL::to($pageUrl) ?>"
|
|
target="_blank"
|
|
class="btn btn-primary oc-icon-crosshairs <?php if (!$objectPath): ?>hide<?php endif ?>"
|
|
data-control="preview-button">
|
|
<?= e(trans('rainlab.pages::lang.editor.preview')) ?>
|
|
</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 ?>"
|
|
onclick="$.oc.pagesPage.onDeletePageSingle(this)"
|
|
data-request-confirm="<?= e(trans('rainlab.pages::lang.page.delete_confirm_single')) ?>"
|
|
data-control="delete-button">
|
|
</button>
|
|
|
|
<?= $this->makePartial('~/modules/cms/controllers/index/_button_lastmodified.htm'); ?>
|
|
</div>
|