image_node/views/index.pug

10 lines
257 B
Text
Raw Normal View History

extend layout
block content
h1 Image Node
2020-04-27 20:58:31 +02:00
if invalidType
h2.fail Invalid image type !
form(method="POST", action="/upload", enctype="multipart/form-data")
2020-04-26 21:25:55 +02:00
input.file_button(type="file", name="image", accept="image/*")
button(type="submit") Upload
2020-04-26 15:22:43 +02:00