EditAssetForm: add "View asset" button
This commit is contained in:
parent
8f4ed7e3b0
commit
0b24ef8b07
@ -31,6 +31,7 @@ class EditAssetForm extends Template
|
||||
Session::getSessionTokenKey(), '=', Session::getSessionToken(),
|
||||
'" onclick="return confirm(\'Are you sure you want to delete this asset?\');">',
|
||||
'Delete asset</a>
|
||||
<a class="btn btn-light" href="', $this->asset->getPageUrl(), '#photo_frame">View asset</a>
|
||||
<button class="btn btn-primary" type="submit">Save asset data</button>
|
||||
</div>
|
||||
<h2>Edit asset \'', $this->asset->getTitle(), '\' (', $this->asset->getFilename(), ')</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user