show delete checkbox only when the file exists already
[phorkie.git] / data / templates / edit.htm
index d60598f79741fe875cb1686ff7f2e2ca2adc4c50..6f5930977c6c20586d23707cb13c4e5209a05585 100644 (file)
@@ -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' %}