diff options
| author | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-07 10:52:22 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-07 10:52:22 +0200 |
| commit | 3b5d1e033ab13e3836073689cd154648f5f5c0d6 (patch) | |
| tree | 7d98a795ce4ae62780b548142fed1bf72c6a0d9b /client/partials/image | |
| parent | c7401eae9f4a1dabb26b59781a520fabae34e1a8 (diff) | |
test
Diffstat (limited to 'client/partials/image')
| -rw-r--r-- | client/partials/image/edit.html | 6 |
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" /> |
