aboutsummaryrefslogtreecommitdiffstats
path: root/shareit/templates/propose_upload.html
diff options
context:
space:
mode:
Diffstat (limited to 'shareit/templates/propose_upload.html')
-rw-r--r--shareit/templates/propose_upload.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/shareit/templates/propose_upload.html b/shareit/templates/propose_upload.html
new file mode 100644
index 0000000..c3c8bb9
--- /dev/null
+++ b/shareit/templates/propose_upload.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+{% block title %}
+{% if lang == 'en' %}Upload{% else %}Dépôt{% endif %}
+{% endblock %}
+{% block content %}
+<form action="/upload/" method="post" enctype="multipart/form-data">
+
+<p>
+ {% if lang == 'en' %}
+ <label for="browse_file">Select your file:</label>
+ {% else %}
+ <label for="browse_file">Sélectionnez votre fichier:</label>
+ {% endif %}
+
+ <input type="file" id="browse_file" name="upload" />
+
+ <input type="submit" />
+</p>
+
+</form>
+{% endblock content %}