From 289abd9fdcc7882492009299814d6b544a923b49 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 --- 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.11.0