From: Christian Weiske Date: Wed, 4 Apr 2012 04:38:53 +0000 (+0200) Subject: show delete checkbox only when the file exists already X-Git-Tag: v0.1.0~56 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/a85a7611b3634a92b827142f0abc6800395f8446 show delete checkbox only when the file exists already --- diff --git a/data/templates/edit-add.htm b/data/templates/edit-add.htm index 19f10cf..e504deb 100644 --- a/data/templates/edit-add.htm +++ b/data/templates/edit-add.htm @@ -5,7 +5,7 @@ - {% include 'edit-file.htm' with {'file': null, 'fileid': 'new'} %} + {% include 'edit-file.htm' with {'file': null, 'fileid': 'new', 'newfile': true} %}