working on the upload from
This commit is contained in:
14
html/uploadfile.html
Normal file
14
html/uploadfile.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{define "body"}}
|
||||
|
||||
<div class="container">
|
||||
<h1>Upload a File</h1>
|
||||
<form action="/upload" method="post" enctype="multipart/form-data">
|
||||
<div class="upload-btn-wrapper">
|
||||
<button class="btn">Upload a file</button>
|
||||
<input type="file" name="myFile" />
|
||||
</div>
|
||||
<input type="submit" value="Upload" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{{end}}
|
Reference in New Issue
Block a user