From 61e8e3f308c908b526270648a74823cbcb361308 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 26 Feb 2021 13:58:18 -0800 Subject: web: improve edit form navigation --- python/fatcat_web/templates/edit_macros.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'python/fatcat_web/templates/edit_macros.html') diff --git a/python/fatcat_web/templates/edit_macros.html b/python/fatcat_web/templates/edit_macros.html index d4839373..a7cf725b 100644 --- a/python/fatcat_web/templates/edit_macros.html +++ b/python/fatcat_web/templates/edit_macros.html @@ -1,4 +1,17 @@ +{% macro edit_link_bar(entity_type, existing_ident, view) -%} + {% set has_form = entity_type in ['release', 'file', 'container'] %} + +{% endmacro %} + + {% macro form_field_errors(field) -%} {% if field.errors %}
@@ -71,7 +84,7 @@