summaryrefslogtreecommitdiff
path: root/client/partials/image/upload.html
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-04-03 11:15:52 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-04-03 11:15:52 +0200
commita7bf9306d3844acd160034bb5c64e1ca7ef77ddc (patch)
tree2862ebc4c319b0d48f73173e8f2da58f61e1a319 /client/partials/image/upload.html
parent237b627bf6cdf31e8923fc67653a73b6b9978540 (diff)
Test
Diffstat (limited to 'client/partials/image/upload.html')
-rw-r--r--client/partials/image/upload.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/client/partials/image/upload.html b/client/partials/image/upload.html
index 72a8e01..3120fe9 100644
--- a/client/partials/image/upload.html
+++ b/client/partials/image/upload.html
@@ -12,11 +12,15 @@
<div class="modal-body">
-
-
- Choose a file to upload: <input id="imageToUpload" name="uploaded_file" type="file" />
- <input type="submit" value="Upload" />
-
+ <form action="../server/index.php" method="post">
+ <input type="hidden" name="task" value="image" />
+ <input type="hidden" name="token" value="{{ token }}" />
+ <input type="hidden" name="action" value="uploadImage" />
+ <input type="hidden" name="id" value="2564" />
+ <input type="hidden" name="file_name" type="fichier" />
+ <input name="file" type="file" />
+ <input type="submit" value="Upload" />
+ </form>
<div class="modal-footer">
<!--<a href="#" data-dismiss="modal" class="btn btn-default">Close</a>-->