Bug 34478: Convert form to link - sci-main

Nothing to POST, we could move to GET, but we do not have parameters. A
link is good here.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2024-02-26 12:32:18 +01:00
parent cb922721fd
commit 099df862d3
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0

View file

@ -109,11 +109,7 @@
</tbody>
</table>
<div>
<form method="post" action="#" id="finish_form">
[% INCLUDE 'csrf-token.inc' %]
<legend class="sr-only">Finish</legend>
<button id="sci_finish_button" type="submit" class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"></i> Finish</button>
</form>
<a href="/cgi-bin/koha/sci/sci-main.pl" id="sci_finish_button" class="btn btn-primary" role="button"><i class="fa fa-check" aria-hidden="true"></i> Finish</a>
</div>
[% ELSE %]
<div class="alert alert-warning">