diff options
Diffstat (limited to 'client/partials')
| -rw-r--r-- | client/partials/image/upload.html | 14 |
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>--> |
