From c2afcb9a75d1689d79b27cd6608d63be5288f0bd 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 Signed-off-by: Joy Nelson (cherry picked from commit 1d57597e7334e6e183bbad1aa01c6eb9ff44f306) Signed-off-by: Lucas Gass --- 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 fe9c271ef4..b3c78b59bf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -539,15 +539,14 @@ - [% ELSIF !itemsloop && can_manage_shelf %]
-
[% END %] + [% IF op == 'add_form' OR op == 'edit_form' %]
-- 2.39.5