Bug 34478: Replace POST with GET when needed - add_form
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
8a39b582f1
commit
d320e6fe27
3 changed files with 6 additions and 9 deletions
|
@ -43,9 +43,8 @@
|
|||
You must have at least one cash register associated with the library before you can record payments.
|
||||
</p>
|
||||
[% IF ( CAN_user_parameters_manage_cash_registers ) %]
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="post">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<input type="hidden" name="op" value="cud-add_form" />
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="get">
|
||||
<input type="hidden" name="op" value="add_form" />
|
||||
<button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button>
|
||||
</form>
|
||||
[% END %]
|
||||
|
|
|
@ -40,9 +40,8 @@
|
|||
You must have at least one cash register associated with the library before you can record payments.
|
||||
</p>
|
||||
[% IF ( CAN_user_parameters_manage_cash_registers ) %]
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="post">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<input type="hidden" name="op" value="cud-add_form" />
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="get">
|
||||
<input type="hidden" name="op" value="add_form" />
|
||||
<button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button>
|
||||
</form>
|
||||
[% END %]
|
||||
|
|
|
@ -37,9 +37,8 @@
|
|||
You must have at least one cash register associated with the library before you can record payments.
|
||||
</p>
|
||||
[% IF ( CAN_user_parameters_manage_cash_registers ) %]
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="post">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<input type="hidden" name="op" value="cud-add_form" />
|
||||
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="get">
|
||||
<input type="hidden" name="op" value="add_form" />
|
||||
<button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button>
|
||||
</form>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue