aboutsummaryrefslogtreecommitdiff
path: root/data/templates/edit.htm
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-04-04 06:38:53 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-04-04 06:38:53 +0200
commita85a7611b3634a92b827142f0abc6800395f8446 (patch)
treeb1fbd38807c52bcd0d00769b70853c5c9accd327 /data/templates/edit.htm
parentcdc99846c94bacdd7a2a0681d77bac3de45c4f2a (diff)
downloadphorkie-a85a7611b3634a92b827142f0abc6800395f8446.tar.gz
phorkie-a85a7611b3634a92b827142f0abc6800395f8446.zip
show delete checkbox only when the file exists already
Diffstat (limited to 'data/templates/edit.htm')
-rw-r--r--data/templates/edit.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/edit.htm b/data/templates/edit.htm
index d60598f..6f59309 100644
--- a/data/templates/edit.htm
+++ b/data/templates/edit.htm
@@ -9,7 +9,7 @@
</div>
{% for fileid, file in repo.getFiles %}
- {% include 'edit-file.htm' with {'file': file, 'fileid': fileid} %}
+ {% include 'edit-file.htm' with {'file': file, 'fileid': fileid, 'newfile': false} %}
{% endfor %}
{% include 'edit-add.htm' %}