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 <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
568cbb3a0e
commit
92d7749640
1 changed files with 1 additions and 2 deletions
|
@ -547,15 +547,14 @@
|
|||
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
|
||||
<input type="hidden" name="modifyshelfcontents" value="1" />
|
||||
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
|
||||
</form>
|
||||
[% ELSIF !itemsloop && can_manage_shelf %]
|
||||
<form method="post" action="opac-shelves.pl">
|
||||
<input type="hidden" name="op" value="delete" />
|
||||
<input type="hidden" name="referer" value="list" />
|
||||
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"/>
|
||||
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
|
||||
</form>
|
||||
[% END %]
|
||||
</form> <!-- / myform -->
|
||||
|
||||
[% IF op == 'add_form' OR op == 'edit_form' %]
|
||||
<form method="post" action="/cgi-bin/koha/opac-shelves.pl">
|
||||
|
|
Loading…
Reference in a new issue