Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Titoratus/d5879a21da3385d9f036497ec1b6b7e9 to your computer and use it in GitHub Desktop.
Save Titoratus/d5879a21da3385d9f036497ec1b6b7e9 to your computer and use it in GitHub Desktop.
[OctoberCMS] Кастомные кнопки в preview, update, create
В любой непонятной ситуации - dd($this).
Например, кнопка редактирования на странице preview:
<a href="<?= Backend::url('estar/hotel/records/update', $this->params[0]) ?>" class="btn btn-default">
Редактировать
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment