remove photo

This commit is contained in:
Nikola Petrov
2024-07-15 19:09:28 +02:00
parent 1f7eb09651
commit 2f68098f62
7 changed files with 3 additions and 173 deletions

View File

@@ -1,7 +0,0 @@
<h1>Slike:</h1>
{{#each photos}}
<h2>slika:</h2>
<img src="{{path}}" title="{{name}}" width="400"/><br/>
Id: <span>{{id}}</span>
<hr/>
{{/each}}

View File

@@ -1,8 +0,0 @@
<h1>Dodaj sliko</h1>
<form action="/photos" method="post" enctype="multipart/form-data">
<input type="text" name="name" placeholder="ime slike" required>
<input type="file" name="image">
<div class="tp">
<input type="submit" value="Dodaj">
</div>
</form>