diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-31 12:53:56 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-31 12:53:56 -0700 |
commit | 31f59b4b0ba7ff95b685c8826a7d019fb142f65c (patch) | |
tree | 221ec7bd8d77bddb2dec344c19253cca65156911 /python/fatcat_web/templates/file_edit.html | |
parent | 81c031ec822aece655104cf545a556ce72d7cd73 (diff) | |
download | fatcat-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.html | 3 |
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 |