X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/81e9ac241907e0a802122e6787e648ce3bb1b494..ee10ed828276e2677c214d5a3bd13ced4600f6c6:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 6c1899f..1422bbc 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -1,55 +1,42 @@ {% extends "base.htm" %} {% block title %}Edit paste{% endblock %} +{% block meta %} + +{% 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-add.htm' %} - - - {% include 'edit-file.htm' with {'file': '', 'fileid': 'new'} %} - - -
-
-
+
+ -
+
+ {% include 'edit-add-button.htm' %} +
+
-
{% endblock %}