aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/file_edit.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-26 13:58:18 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-02-26 13:58:18 -0800
commit61e8e3f308c908b526270648a74823cbcb361308 (patch)
treeb45b9bcf894a12ea8dd9b27559cc900ad0cb2166 /python/fatcat_web/templates/file_edit.html
parent5c88e4a883bfda83394bd9b6982c2f7bdaaad8c2 (diff)
downloadfatcat-61e8e3f308c908b526270648a74823cbcb361308.tar.gz
fatcat-61e8e3f308c908b526270648a74823cbcb361308.zip
web: improve edit form navigation
Diffstat (limited to 'python/fatcat_web/templates/file_edit.html')
-rw-r--r--python/fatcat_web/templates/file_edit.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/fatcat_web/templates/file_edit.html b/python/fatcat_web/templates/file_edit.html
index 745b0c41..b7ff1d72 100644
--- a/python/fatcat_web/templates/file_edit.html
+++ b/python/fatcat_web/templates/file_edit.html
@@ -2,19 +2,14 @@
{% extends "base.html" %}
{% block body %}
+
{% block edit_form_prefix %}
+{{ edit_macros.edit_link_bar(entity_type, existing_ident) }}
<div class="ui segment">
<h1 class="ui header">Edit File Entity</h1>
<form class="ui form" id="edit_file_form" method="POST" action="{% if editgroup %}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/file/{{ existing_ident }}/edit">
- <p>Experienced users can also use the <a href="{% if editgroup
- %}/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