From 92d7749640172b7fc0fe815ee9edcd4e225b3ecd Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 13 Dec 2019 14:24:33 +0000 Subject: [PATCH] Bug 24240: Move form closing tag outside of conditional To test: 1 - Create a public list 2 - View the list as a user not signed in 3 - Validate the HTML, note the div closed with open elements, and a form tag unclosed 4 - Apply patch 5 - Those errors are fixed Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index d96c4a3684..5e9f40d3f2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -547,15 +547,14 @@ - [% ELSIF !itemsloop && can_manage_shelf %]
-
[% END %] + [% IF op == 'add_form' OR op == 'edit_form' %]
-- 2.39.5