Skip to content

Commit

Permalink
Adding a Cancel button to post (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvidal authored Apr 5, 2021
1 parent 89eefba commit 536537a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions controllers/posts/_post_toolbar.htm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
</a>
<?php endif ?>

<!-- Cancel -->
<a
href="<?= Backend::url('rainlab/blog/posts') ?>"
class="btn btn-primary oc-icon-arrow-left cancel">
<?= e(trans('backend::lang.form.cancel')) ?>
</a>

<!-- Preview -->
<a
href="<?= URL::to($pageUrl) ?>"
Expand Down

0 comments on commit 536537a

Please sign in to comment.