aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/file_edit.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-31 12:53:56 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-31 12:53:56 -0700
commit31f59b4b0ba7ff95b685c8826a7d019fb142f65c (patch)
tree221ec7bd8d77bddb2dec344c19253cca65156911 /python/fatcat_web/templates/file_edit.html
parent81c031ec822aece655104cf545a556ce72d7cd73 (diff)
downloadfatcat-31f59b4b0ba7ff95b685c8826a7d019fb142f65c.tar.gz
fatcat-31f59b4b0ba7ff95b685c8826a7d019fb142f65c.zip
web: add links to deletion pages from edit pages
Diffstat (limited to 'python/fatcat_web/templates/file_edit.html')
-rw-r--r--python/fatcat_web/templates/file_edit.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/file_edit.html b/python/fatcat_web/templates/file_edit.html
index b7876fc5..745b0c41 100644
--- a/python/fatcat_web/templates/file_edit.html
+++ b/python/fatcat_web/templates/file_edit.html
@@ -12,6 +12,9 @@
%}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/file/{{
existing_ident }}/edit/toml">TOML editing form</a> to access all metadata
fields in a raw format.
+ {% if not editgroup %}
+ You can also <a href="/file/{{ existing_ident }}/delete">delete this entity</a>.
+ {% endif %}
{% endblock %}
<p>See <a href="https://guide.fatcat.wiki/entity_file.html">the catalog