Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>what the heck</title>
- <style>
- h1 {
- font-size: 2em;
- font-weight: bold;
- color: #777777;
- text-align: center
- }
- table {
- margin: auto;
- }
- </style>
- </head>
- <body>
- <h1>
- {{what}}
- <p style="text-align: left"><a href="{% url 'home' %}">Back</p></a>
- </h1>
- <table>
- <tr>
- <td>
- <form action="{{ request.build_absolute_uri }}upload/" method="POST" enctype="multipart/form-data">
- {% csrf_token %}
- <input type="file" name="file"/>
- <br />
- <input type="submit" value="Upload File" />
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement