Fix Button, ConfirmDeletePage, WarningDialog templates

This commit is contained in:
2023-03-12 01:00:50 +01:00
parent 0325a2ec90
commit 01822cdccf
5 changed files with 8 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ class PhotoPage extends Template
<div id="user_actions_box" class="content-box">
<h3>Actions</h3>
<a class="btn btn-primary" href="', BASEURL, '/editasset/?id=', $this->photo->getId(), '">Edit photo</a>
<a class="btn btn-danger" href="', BASEURL, '/', $this->photo->getSlug(), '?confirm_delete">Delete photo</a>
<a class="btn btn-danger" href="', BASEURL, '/', $this->photo->getSlug(), '/?confirm_delete">Delete photo</a>
</div>';
}
}