Bug 34478: (follow-up) Move resend link out of form for display reasons
This improves display. This only comes up when you try to reset your password after you did already. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
c9375e746b
commit
18b046598c
|
|
@ -30,7 +30,7 @@
|
|||
$("fieldset#" + $(this).val() ).show();
|
||||
});
|
||||
$("#resendmail").click(function() {
|
||||
$("#resendform").get(0).submit();
|
||||
$("#resendform").submit();
|
||||
});
|
||||
[% IF (new_password) %]
|
||||
$("#mainform").validate({
|
||||
|
|
@ -97,9 +97,9 @@
|
|||
[% END %]
|
||||
<br/>You should have received an email with a link to reset your password.
|
||||
<br/>If you did not receive this email, you can request a new one:
|
||||
<form style="display:inline-block;" method="post" id="resendform" action="/cgi-bin/koha/opac-password-recovery.pl">
|
||||
<a href="#" id="resendmail">Get new password recovery link</a>
|
||||
<form method="post" id="resendform" action="/cgi-bin/koha/opac-password-recovery.pl">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<a href="#" id="resendmail">Get new password recovery link</a>
|
||||
<input type="hidden" name="op" value="cud-resendEmail" />
|
||||
<input type="hidden" name="email" value="[% email | url %]" />
|
||||
<input type="hidden" name="username" value="[% username | uri %]" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue