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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-10 / +9 lines)
Lines 136-142 Link Here
136
                    <div class="alert alert-error"><li>
136
                    <div class="alert alert-error"><li>
137
                        <p>There were problems processing your registration. Please contact your library for help.</p>
137
                        <p>There were problems processing your registration. Please contact your library for help.</p>
138
                        [% IF error_type == 'Koha::Exceptions::Patron::InvalidUserid' %]
138
                        [% IF error_type == 'Koha::Exceptions::Patron::InvalidUserid' %]
139
                            <p>Error: Userid is not valid</p>
139
                            <p>Error: Username already exists or could not create unique new one.</p>
140
                        [% ELSE %]
140
                        [% ELSE %]
141
                            <p>Error [% error_type | html %]: [% error_info | html %]</p>
141
                            <p>Error [% error_type | html %]: [% error_info | html %]</p>
142
                        [% END %]
142
                        [% END %]
Lines 212-218 Link Here
212
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
212
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
213
                    [% INCLUDE 'csrf-token.inc' %]
213
                    [% INCLUDE 'csrf-token.inc' %]
214
214
215
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'middle_name' 'dateofbirth' 'initials' 'pronouns' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_streetnumber' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' 'lang' ] %]
215
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'middle_name' 'dateofbirth' 'initials' 'pronouns' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_streetnumber' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' 'lang' 'userid'] %]
216
                    [% IF mandatory.defined( field ) %]
216
                    [% IF mandatory.defined( field ) %]
217
                        [% SET required.$field = 'required' %]
217
                        [% SET required.$field = 'required' %]
218
                    [% END %]
218
                    [% END %]
Lines 255-267 Link Here
255
                                            </li>
255
                                            </li>
256
                                            [% END %]
256
                                            [% END %]
257
257
258
                                            [% IF op != 'new' %]
258
                                            [% UNLESS hidden.defined('userid') %]
259
                                                [% UNLESS hidden.defined('userid') %]
259
                                            <li>
260
                                                <li>
260
                                                <label for="borrower_userid" class="[% required.userid | html %]">Username:</label>
261
                                                    <label>Username:</label>
261
                                                <input type="text" id="borrower_userid" name="borrower_userid" size="20" value="[% borrower.userid | html %]" class="[% required.userid | html %]"/>
262
                                                    [% borrower.userid | html  %]
262
                                                <input type="text" disabled="disabled" style="display:none" />
263
                                                </li>
263
                                                <div class="required_label [% required.userid | html %]">Required</div>
264
                                                [% END %]
264
                                            </li>
265
                                            [% END %]
265
                                            [% END %]
266
266
267
                                            [% UNLESS hidden.defined('dateexpiry') %]
267
                                            [% UNLESS hidden.defined('dateexpiry') %]
268
- 

Return to bug 36430