Multi / templates /upload.html
victorisgeek's picture
Upload upload.html
0a4c146 verified
raw
history blame
694 Bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Upload File</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1 class="mt-5">Upload new File</h1>
<form method="post" enctype="multipart/form-data" action="{{ url_for('upload_file') }}">
<div class="form-group">
<input type="file" name="file" class="form-control-file">
</div>
<button type="submit" class="btn btn-primary">Upload</button>
</form>
</div>
</body>
</html>