View | Details | Raw Unified | Return to bug 37324
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt (-5 / +5 lines)
Lines 106-125 Link Here
106
                            <div id="login">
106
                            <div id="login">
107
                                <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
107
                                <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
108
                                    [% INCLUDE 'csrf-token.inc' %]
108
                                    [% INCLUDE 'csrf-token.inc' %]
109
                                    <input type="hidden" name="op" value="cud-login">
109
                                    <input type="hidden" name="koha_login_context" value="opac" />
110
                                    <input type="hidden" name="koha_login_context" value="opac" />
110
                                    <fieldset class="brief">
111
                                    <fieldset class="brief">
111
                                        <legend>Log in to your account:</legend>
112
                                        <legend>Log in to your account:</legend>
112
                                        [% PROCESS login_label for="userid" %]
113
                                        [% PROCESS login_label for="userid" %]
113
                                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
114
                                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
114
                                            <input class="form-control" type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" autocomplete="off" />
115
                                            <input class="form-control" type="text" id="userid" size="10" name="login_userid" value="[% borrower.userid | html %]" autocomplete="off" />
115
                                        [% ELSE %]
116
                                        [% ELSE %]
116
                                            <input class="form-control" type="text" id="userid" size="10" name="userid" value="" autocomplete="off" />
117
                                            <input class="form-control" type="text" id="userid" size="10" name="login_userid" value="" autocomplete="off" />
117
                                        [% END %]
118
                                        [% END %]
118
                                        <label for="password">Password:</label>
119
                                        <label for="password">Password:</label>
119
                                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
120
                                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
120
                                            <input class="form-control" type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" autocomplete="off" />
121
                                            <input class="form-control" type="password" id="password" size="10" name="login_password" value="[% password_cleartext | html %]" autocomplete="off" />
121
                                        [% ELSE %]
122
                                        [% ELSE %]
122
                                            <input class="form-control" type="password" id="password" size="10" name="password" value="" autocomplete="off" />
123
                                            <input class="form-control" type="password" id="password" size="10" name="login_password" value="" autocomplete="off" />
123
                                        [% END %]
124
                                        [% END %]
124
                                    <fieldset class="action">
125
                                    <fieldset class="action">
125
                                        <input type="submit" value="Log in" class="btn btn-primary" />
126
                                        <input type="submit" value="Log in" class="btn btn-primary" />
126
- 

Return to bug 37324