From a85a7611b3634a92b827142f0abc6800395f8446 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 4 Apr 2012 06:38:53 +0200 Subject: [PATCH] show delete checkbox only when the file exists already --- data/templates/edit-add.htm | 4 ++-- data/templates/edit-file.htm | 2 ++ data/templates/edit.htm | 2 +- data/templates/index.htm | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) 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} %}