9 lines
257 B
Text
9 lines
257 B
Text
extend layout
|
|
block content
|
|
h1 Image Node
|
|
if invalidType
|
|
h2.fail Invalid image type !
|
|
form(method="POST", action="/upload", enctype="multipart/form-data")
|
|
input.file_button(type="file", name="image", accept="image/*")
|
|
button(type="submit") Upload
|
|
|