aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/editleftbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/editleftbar.php')
-rw-r--r--app/view/templates/editleftbar.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php
index 8da25c3..d510f5d 100644
--- a/app/view/templates/editleftbar.php
+++ b/app/view/templates/editleftbar.php
@@ -43,6 +43,12 @@
?>
</select>
+ <div id="thumbnail">
+ <label for="thumbnail">Thumbnail</label>
+ <input type="file" id="thumbnail" name="thumbnail" accept=".jpg, .JPG, .jpeg, .JPEG">
+ <img src="<?= Model::thumbnailpath() ?><?= $art->id() ?>.jpg" alt="no-thumbnail">
+ </div>
+