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

Return to bug 37324