EditTag: allow updating the thumbnail visually
This commit is contained in:
@@ -20,6 +20,8 @@ class FeaturedThumbnailManager extends SubTemplate
|
||||
protected function html_content()
|
||||
{
|
||||
echo '
|
||||
<form action="" method="post">
|
||||
<button class="btn btn-primary float-end" type="submit" name="changeThumbnail">Save thumbnail selection</button>
|
||||
<h2>Select thumbnail</h2>
|
||||
<ul id="featuredThumbnail">';
|
||||
|
||||
@@ -37,6 +39,8 @@ class FeaturedThumbnailManager extends SubTemplate
|
||||
$this->assets->clean();
|
||||
|
||||
echo '
|
||||
</ul>';
|
||||
</ul>
|
||||
<input type="hidden" name="', Session::getSessionTokenKey(), '" value="', Session::getSessionToken(), '">
|
||||
</form>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user