summaryrefslogtreecommitdiff
path: root/client/partials/image/edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/partials/image/edit.html')
-rw-r--r--client/partials/image/edit.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/partials/image/edit.html b/client/partials/image/edit.html
index 2b58065..c3a7c0c 100644
--- a/client/partials/image/edit.html
+++ b/client/partials/image/edit.html
@@ -36,10 +36,10 @@
</form>
<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="token" value="{{ getToken() }}" />
<input type="hidden" name="action" value="uploadImage" />
- <input type="hidden" name="id" value="60ed9403-419e-4ea8-933f-dd1750d97360" />
- <input type="hidden" name="file_name" value="bob.iso" />
+ <input type="hidden" name="id" value="{{ image.id }}" />
+ <input type="hidden" name="file_name" value="cirros-0.3.4-x86_64-disk.img" />
<fieldset class="form-group">
<label class="control-label col-sm-2">Upload</label>
<input name="file" type="file" />