X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/81e9ac241907e0a802122e6787e648ce3bb1b494..4fea519a397df1e660f7e2b1fcd3805241797b6c:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 6c1899f..f1f4a51 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -2,26 +2,17 @@ {% block title %}Edit paste{% endblock %} {% block content %} -
+
{% 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-file.htm' with {'file': '', 'fileid': 'new'} %} - + {% include 'edit-add.htm' %}
@@ -40,16 +31,7 @@ {% endblock %}