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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-151 / +94 lines)
Lines 72-78 Link Here
72
                                [% END %]
72
                                [% END %]
73
                            [% END %]
73
                            [% END %]
74
                        </ul>
74
                        </ul>
75
                        Please correct the errors and resubmit.
75
                        <span>Please correct and resubmit.</span>
76
                    </div>
76
                    </div>
77
                [% END %]
77
                [% END %]
78
78
Lines 83-89 Link Here
83
                        [% ELSIF cardnumber_already_exists %]
83
                        [% ELSIF cardnumber_already_exists %]
84
                        <a href="#borrower_cardnumber"><strong>The entered card number is already in use.</strong></a>
84
                        <a href="#borrower_cardnumber"><strong>The entered card number is already in use.</strong></a>
85
                        [% END %]
85
                        [% END %]
86
                        Please correct this and resubmit.
86
                        <span>Please correct and resubmit.</span>
87
                    </div>
87
                    </div>
88
                [% END %]
88
                [% END %]
89
89
Lines 117-131 Link Here
117
                    </fieldset>
117
                    </fieldset>
118
                [% END %]
118
                [% END %]
119
                [% IF ( extended_unique_id_failed_code ) %]
119
                [% IF ( extended_unique_id_failed_code ) %]
120
                    <div class="alert" id="extended_unique_id_failed"><a href="#patron-attr-start-[% extended_unique_id_failed_code %]">[% extended_unique_id_failed_description %]</a> value <i>[% extended_unique_id_failed_value %]</i> is already in use.</div>
120
                    <div class="alert" id="extended_unique_id_failed"><a href="#patron-attr-start-[% extended_unique_id_failed_code %]">[% extended_unique_id_failed_description _ ': ' %]</a> Value is already in use ([% extended_unique_id_failed_value %])</div>
121
                [% END %]
121
                [% END %]
122
122
123
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form">
123
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form">
124
124
125
                [% UNLESS
125
                [%# Following on one line for translatability %]
126
                    ( hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) ) &&
126
                [% UNLESS ( hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) ) && hidden.defined('dateexpiry') && hidden.defined('branchcode') && hidden.defined('categorycode') %]
127
                    hidden.defined('dateexpiry') && hidden.defined('branchcode') && hidden.defined('categorycode')
128
                %]
129
                    <fieldset class="rows" id="memberentry_library">
127
                    <fieldset class="rows" id="memberentry_library">
130
128
131
                        <legend id="library_legend">Library</legend>
129
                        <legend id="library_legend">Library</legend>
Lines 133-144 Link Here
133
                                [% UNLESS hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) %]
131
                                [% UNLESS hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) %]
134
                                <li>
132
                                <li>
135
                                    [% IF mandatory.defined('cardnumber') %]
133
                                    [% IF mandatory.defined('cardnumber') %]
136
                                        <label for="borrower_cardnumber" class="required">
134
                                        <label for="borrower_cardnumber" class="required">Library card number:</label>
137
                                    [% ELSE %]
135
                                    [% ELSE %]
138
                                        <label for="borrower_cardnumber">
136
                                        <label for="borrower_cardnumber">Library card number:</label>
139
                                    [% END %]
137
                                    [% END %]
140
                                    Library card number:
141
                                    </label>
142
                                    [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %]
138
                                    [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %]
143
                                        [% borrower.cardnumber %]
139
                                        [% borrower.cardnumber %]
144
                                    [% ELSE %]
140
                                    [% ELSE %]
Lines 173-183 Link Here
173
                                [% UNLESS hidden.defined('branchcode') %]
169
                                [% UNLESS hidden.defined('branchcode') %]
174
                                    <li>
170
                                    <li>
175
                                        [% IF mandatory.defined('branchcode') %]
171
                                        [% IF mandatory.defined('branchcode') %]
176
                                            <label for="borrower_branchcode" class="required">
172
                                            <label for="borrower_branchcode" class="required">Home library:</label>
177
                                        [% ELSE %]
173
                                        [% ELSE %]
178
                                            <label for="borrower_branchcode">
174
                                            <label for="borrower_branchcode">Home library:</label>
179
                                        [% END %]
175
                                        [% END %]
180
                                        Home library:</label>
181
176
182
                                        <select id="borrower_branchcode" name="borrower_branchcode">
177
                                        <select id="borrower_branchcode" name="borrower_branchcode">
183
                                            [% FOREACH l IN libraries %]
178
                                            [% FOREACH l IN libraries %]
Lines 216-226 Link Here
216
                        </fieldset>
211
                        </fieldset>
217
                [% END # / defined 'branchcode' %]
212
                [% END # / defined 'branchcode' %]
218
213
219
                [% UNLESS
214
                [%# Following on one line for translatability %]
220
                    hidden.defined('title') && hidden.defined('surname') && hidden.defined('firstname') &&
215
                [% UNLESS hidden.defined('title') && hidden.defined('surname') && hidden.defined('firstname') && hidden.defined('dateofbirth') && hidden.defined('initials') && hidden.defined('othernames') && hidden.defined('sex') %]
221
                    hidden.defined('dateofbirth') && hidden.defined('initials') && hidden.defined('othernames') &&
222
                    hidden.defined('sex')
223
                %]
224
                    <div class="row-fluid">
216
                    <div class="row-fluid">
225
                        [% IF ( display_patron_image ) %]
217
                        [% IF ( display_patron_image ) %]
226
                            <div class="span8">
218
                            <div class="span8">
Lines 234-244 Link Here
234
                                    [% UNLESS hidden.defined('title') || !Koha.Preference('BorrowersTitles') %]
226
                                    [% UNLESS hidden.defined('title') || !Koha.Preference('BorrowersTitles') %]
235
                                        <li>
227
                                        <li>
236
                                            [% IF mandatory.defined('title') %]
228
                                            [% IF mandatory.defined('title') %]
237
                                                <label for="borrower_title" class="required">
229
                                                <label for="borrower_title" class="required">Salutation:</label>
238
                                            [% ELSE %]
230
                                            [% ELSE %]
239
                                                <label for="borrower_title">
231
                                                <label for="borrower_title">Salutation:</label>
240
                                            [% END %]
232
                                            [% END %]
241
                                            Salutation:</label>
242
233
243
                                            <select id="borrower_title" name="borrower_title">
234
                                            <select id="borrower_title" name="borrower_title">
244
                                                <option value=""></option>
235
                                                <option value=""></option>
Lines 256-266 Link Here
256
                                    [% UNLESS hidden.defined('surname') %]
247
                                    [% UNLESS hidden.defined('surname') %]
257
                                        <li>
248
                                        <li>
258
                                            [% IF mandatory.defined('surname') %]
249
                                            [% IF mandatory.defined('surname') %]
259
                                                <label for="borrower_surname" class="required">
250
                                                <label for="borrower_surname" class="required">Surname:</label>
260
                                            [% ELSE %]
251
                                            [% ELSE %]
261
                                                <label for="borrower_surname">
252
                                                <label for="borrower_surname">Surname:</label>
262
                                            [% END %]
253
                                            [% END %]
263
                                            Surname:</label>
264
254
265
                                            <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname %]" />
255
                                            <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname %]" />
266
                                            [% IF mandatory.defined('surname') %]<span class="required">Required</span>[% END %]
256
                                            [% IF mandatory.defined('surname') %]<span class="required">Required</span>[% END %]
Lines 270-280 Link Here
270
                                    [% UNLESS hidden.defined('firstname') %]
260
                                    [% UNLESS hidden.defined('firstname') %]
271
                                        <li>
261
                                        <li>
272
                                            [% IF mandatory.defined('firstname') %]
262
                                            [% IF mandatory.defined('firstname') %]
273
                                                <label for="borrower_firstname" class="required">
263
                                                <label for="borrower_firstname" class="required">First name:</label>
274
                                            [% ELSE %]
264
                                            [% ELSE %]
275
                                                <label for="borrower_firstname">
265
                                                <label for="borrower_firstname">First name:</label>
276
                                            [% END %]
266
                                            [% END %]
277
                                            First name:</label>
278
267
279
                                            <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname %]" />
268
                                            <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname %]" />
280
                                            [% IF mandatory.defined('firstname') %]<span class="required">Required</span>[% END %]
269
                                            [% IF mandatory.defined('firstname') %]<span class="required">Required</span>[% END %]
Lines 284-294 Link Here
284
                                    [% UNLESS hidden.defined('dateofbirth') %]
273
                                    [% UNLESS hidden.defined('dateofbirth') %]
285
                                        <li>
274
                                        <li>
286
                                            [% IF mandatory.defined('dateofbirth') %]
275
                                            [% IF mandatory.defined('dateofbirth') %]
287
                                                <label for="borrower_dateofbirth" class="required">
276
                                                <label for="borrower_dateofbirth" class="required">Date of birth:</label>
288
                                            [% ELSE %]
277
                                            [% ELSE %]
289
                                                <label for="borrower_dateofbirth">
278
                                                <label for="borrower_dateofbirth">Date of birth:</label>
290
                                            [% END %]
279
                                            [% END %]
291
                                            Date of birth:</label>
292
280
293
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
281
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
294
282
Lines 305-315 Link Here
305
                                    [% UNLESS hidden.defined('initials') %]
293
                                    [% UNLESS hidden.defined('initials') %]
306
                                        <li>
294
                                        <li>
307
                                            [% IF mandatory.defined('initials') %]
295
                                            [% IF mandatory.defined('initials') %]
308
                                                <label for="borrower_initials" class="required">
296
                                                <label for="borrower_initials" class="required">Initials:</label>
309
                                            [% ELSE %]
297
                                            [% ELSE %]
310
                                                <label for="borrower_initials">
298
                                                <label for="borrower_initials">Initials:</label>
311
                                            [% END %]
299
                                            [% END %]
312
                                            Initials:</label>
313
300
314
                                            <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials %]" />
301
                                            <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials %]" />
315
                                            [% IF mandatory.defined('initials') %]<span class="required">Required</span>[% END %]
302
                                            [% IF mandatory.defined('initials') %]<span class="required">Required</span>[% END %]
Lines 319-329 Link Here
319
                                    [% UNLESS hidden.defined('othernames') %]
306
                                    [% UNLESS hidden.defined('othernames') %]
320
                                        <li>
307
                                        <li>
321
                                            [% IF mandatory.defined('othernames') %]
308
                                            [% IF mandatory.defined('othernames') %]
322
                                                <label for="borrower_othernames" class="required">
309
                                                <label for="borrower_othernames" class="required">Other names:</label>
323
                                            [% ELSE %]
310
                                            [% ELSE %]
324
                                                <label for="borrower_othernames">
311
                                                <label for="borrower_othernames">Other names:</label>
325
                                            [% END %]
312
                                            [% END %]
326
                                            Other names:</label>
327
313
328
                                            <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames %]" />
314
                                            <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames %]" />
329
                                            [% IF mandatory.defined('othernames') %]<span class="required">Required</span>[% END %]
315
                                            [% IF mandatory.defined('othernames') %]<span class="required">Required</span>[% END %]
Lines 369-379 Link Here
369
                    </div>
355
                    </div>
370
                [% END # /UNLESS fields hidden %]
356
                [% END # /UNLESS fields hidden %]
371
357
372
                [% UNLESS
358
                [%# Following on one line for translatability %]
373
                    hidden.defined('streetnumber') && hidden.defined('address') && hidden.defined('address2') &&
359
                [% UNLESS hidden.defined('streetnumber') && hidden.defined('address') && hidden.defined('address2') && hidden.defined('city') && hidden.defined('state') && hidden.defined('zipcode') && hidden.defined('country') %]
374
                    hidden.defined('city') && hidden.defined('state') && hidden.defined('zipcode') &&
375
                    hidden.defined('country')
376
                %]
377
                    <fieldset class="rows" id="memberentry_mainaddress">
360
                    <fieldset class="rows" id="memberentry_mainaddress">
378
                        <legend id="mainaddress_legend">Main address</legend>
361
                        <legend id="mainaddress_legend">Main address</legend>
379
362
Lines 381-391 Link Here
381
                            [% UNLESS hidden.defined('streetnumber') %]
364
                            [% UNLESS hidden.defined('streetnumber') %]
382
                                <li>
365
                                <li>
383
                                    [% IF mandatory.defined('streetnumber') %]
366
                                    [% IF mandatory.defined('streetnumber') %]
384
                                        <label for="borrower_streetnumber" class="required">
367
                                        <label for="borrower_streetnumber" class="required">Street number:</label>
385
                                    [% ELSE %]
368
                                    [% ELSE %]
386
                                        <label for="borrower_streetnumber">
369
                                        <label for="borrower_streetnumber">Street number:</label>
387
                                    [% END %]
370
                                    [% END %]
388
                                    Street number:</label>
389
371
390
                                    <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber %]" />
372
                                    <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber %]" />
391
                                    [% IF mandatory.defined('streetnumber') %]<span class="required">Required</span>[% END %]
373
                                    [% IF mandatory.defined('streetnumber') %]<span class="required">Required</span>[% END %]
Lines 395-405 Link Here
395
                            [% UNLESS hidden.defined('address') %]
377
                            [% UNLESS hidden.defined('address') %]
396
                                <li>
378
                                <li>
397
                                    [% IF mandatory.defined('address') %]
379
                                    [% IF mandatory.defined('address') %]
398
                                        <label for="borrower_address" class="required">
380
                                        <label for="borrower_address" class="required">Address:</label>
399
                                    [% ELSE %]
381
                                    [% ELSE %]
400
                                        <label for="borrower_address">
382
                                        <label for="borrower_address">Address:</label>
401
                                    [% END %]
383
                                    [% END %]
402
                                    Address:</label>
403
384
404
                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address %]" />
385
                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address %]" />
405
                                    [% IF mandatory.defined('address') %]<span class="required">Required</span>[% END %]
386
                                    [% IF mandatory.defined('address') %]<span class="required">Required</span>[% END %]
Lines 409-419 Link Here
409
                            [% UNLESS hidden.defined('address2') %]
390
                            [% UNLESS hidden.defined('address2') %]
410
                                <li>
391
                                <li>
411
                                    [% IF mandatory.defined('address2') %]
392
                                    [% IF mandatory.defined('address2') %]
412
                                        <label for="borrower_address2" class="required">
393
                                        <label for="borrower_address2" class="required">Address 2:</label>
413
                                    [% ELSE %]
394
                                    [% ELSE %]
414
                                        <label for="borrower_address2">
395
                                        <label for="borrower_address2">Address 2:</label>
415
                                    [% END %]
396
                                    [% END %]
416
                                    Address 2:</label>
417
397
418
                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 %]" />
398
                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 %]" />
419
                                    [% IF mandatory.defined('address2') %]<span class="required">Required</span>[% END %]
399
                                    [% IF mandatory.defined('address2') %]<span class="required">Required</span>[% END %]
Lines 423-433 Link Here
423
                            [% UNLESS hidden.defined('city') %]
403
                            [% UNLESS hidden.defined('city') %]
424
                                <li>
404
                                <li>
425
                                    [% IF mandatory.defined('city') %]
405
                                    [% IF mandatory.defined('city') %]
426
                                        <label for="borrower_city" class="required">
406
                                        <label for="borrower_city" class="required">City:</label>
427
                                    [% ELSE %]
407
                                    [% ELSE %]
428
                                        <label for="borrower_city">
408
                                        <label for="borrower_city">City:</label>
429
                                    [% END %]
409
                                    [% END %]
430
                                    City:</label>
431
410
432
                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city %]" />
411
                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city %]" />
433
                                    [% IF mandatory.defined('city') %]<span class="required">Required</span>[% END %]
412
                                    [% IF mandatory.defined('city') %]<span class="required">Required</span>[% END %]
Lines 437-447 Link Here
437
                            [% UNLESS hidden.defined('state') %]
416
                            [% UNLESS hidden.defined('state') %]
438
                                <li>
417
                                <li>
439
                                    [% IF mandatory.defined('state') %]
418
                                    [% IF mandatory.defined('state') %]
440
                                        <label for="borrower_state" class="required">
419
                                        <label for="borrower_state" class="required">State:</label>
441
                                    [% ELSE %]
420
                                    [% ELSE %]
442
                                        <label for="borrower_state">
421
                                        <label for="borrower_state">State:</label>
443
                                    [% END %]
422
                                    [% END %]
444
                                    State:</label>
445
423
446
                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state %]" />
424
                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state %]" />
447
                                    [% IF mandatory.defined('state') %]<span class="required">Required</span>[% END %]
425
                                    [% IF mandatory.defined('state') %]<span class="required">Required</span>[% END %]
Lines 451-461 Link Here
451
                            [% UNLESS hidden.defined('zipcode') %]
429
                            [% UNLESS hidden.defined('zipcode') %]
452
                                <li>
430
                                <li>
453
                                    [% IF mandatory.defined('zipcode') %]
431
                                    [% IF mandatory.defined('zipcode') %]
454
                                        <label for="borrower_zipcode" class="required">
432
                                        <label for="borrower_zipcode" class="required">ZIP/Postal code:</label>
455
                                    [% ELSE %]
433
                                    [% ELSE %]
456
                                        <label for="borrower_zipcode">
434
                                        <label for="borrower_zipcode">ZIP/Postal code:</label>
457
                                    [% END %]
435
                                    [% END %]
458
                                    ZIP/Postal code:</label>
459
436
460
                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode %]" />
437
                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode %]" />
461
                                    [% IF mandatory.defined('zipcode') %]<span class="required">Required</span>[% END %]
438
                                    [% IF mandatory.defined('zipcode') %]<span class="required">Required</span>[% END %]
Lines 465-475 Link Here
465
                            [% UNLESS hidden.defined('country') %]
442
                            [% UNLESS hidden.defined('country') %]
466
                                <li>
443
                                <li>
467
                                    [% IF mandatory.defined('country') %]
444
                                    [% IF mandatory.defined('country') %]
468
                                        <label for="borrower_country" class="required">
445
                                        <label for="borrower_country" class="required">Country:</label>
469
                                    [% ELSE %]
446
                                    [% ELSE %]
470
                                        <label for="borrower_country">
447
                                        <label for="borrower_country">Country:</label>
471
                                    [% END %]
448
                                    [% END %]
472
                                    Country:</label>
473
449
474
                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country %]" />
450
                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country %]" />
475
                                    [% IF mandatory.defined('country') %]<span class="required">Required</span>[% END %]
451
                                    [% IF mandatory.defined('country') %]<span class="required">Required</span>[% END %]
Lines 480-489 Link Here
480
                    </fieldset>
456
                    </fieldset>
481
                [% END %]
457
                [% END %]
482
458
483
                [% UNLESS
459
                [%# Following on one line for translatability %]
484
                    hidden.defined('phone') && hidden.defined('phonepro') && hidden.defined('mobile') &&
460
                [% UNLESS hidden.defined('phone') && hidden.defined('phonepro') && hidden.defined('mobile') && hidden.defined('email') && hidden.defined('emailpro') && hidden.defined('fax') %]
485
                    hidden.defined('email') && hidden.defined('emailpro') && hidden.defined('fax')
486
                %]
487
                    <fieldset class="rows" id="memberentry_contact">
461
                    <fieldset class="rows" id="memberentry_contact">
488
                        <legend id="contact_legend">Contact information</legend>
462
                        <legend id="contact_legend">Contact information</legend>
489
463
Lines 491-501 Link Here
491
                            [% UNLESS hidden.defined('phone') %]
465
                            [% UNLESS hidden.defined('phone') %]
492
                                <li>
466
                                <li>
493
                                    [% IF mandatory.defined('phone') %]
467
                                    [% IF mandatory.defined('phone') %]
494
                                        <label for="borrower_phone" class="required">
468
                                        <label for="borrower_phone" class="required">Primary phone:</label>
495
                                    [% ELSE %]
469
                                    [% ELSE %]
496
                                        <label for="borrower_phone">
470
                                        <label for="borrower_phone">Primary phone:</label>
497
                                    [% END %]
471
                                    [% END %]
498
                                    Primary phone:</label>
499
472
500
                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone %]" />
473
                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone %]" />
501
                                    [% IF mandatory.defined('phone') %]<span class="required">Required</span>[% END %]
474
                                    [% IF mandatory.defined('phone') %]<span class="required">Required</span>[% END %]
Lines 505-515 Link Here
505
                            [% UNLESS hidden.defined('phonepro') %]
478
                            [% UNLESS hidden.defined('phonepro') %]
506
                                <li>
479
                                <li>
507
                                    [% IF mandatory.defined('phonepro') %]
480
                                    [% IF mandatory.defined('phonepro') %]
508
                                        <label for="borrower_phonepro" class="required">
481
                                        <label for="borrower_phonepro" class="required">Secondary phone:</label>
509
                                    [% ELSE %]
482
                                    [% ELSE %]
510
                                        <label for="borrower_phonepro">
483
                                        <label for="borrower_phonepro">Secondary phone:</label>
511
                                    [% END %]
484
                                    [% END %]
512
                                    Secondary phone:</label>
513
485
514
                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro %]" />
486
                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro %]" />
515
                                    [% IF mandatory.defined('phonepro') %]<span class="required">Required</span>[% END %]
487
                                    [% IF mandatory.defined('phonepro') %]<span class="required">Required</span>[% END %]
Lines 519-529 Link Here
519
                            [% UNLESS hidden.defined('mobile') %]
491
                            [% UNLESS hidden.defined('mobile') %]
520
                                <li>
492
                                <li>
521
                                    [% IF mandatory.defined('mobile') %]
493
                                    [% IF mandatory.defined('mobile') %]
522
                                        <label for="borrower_mobile" class="required">
494
                                        <label for="borrower_mobile" class="required">Other phone:</label>
523
                                    [% ELSE %]
495
                                    [% ELSE %]
524
                                        <label for="borrower_mobile">
496
                                        <label for="borrower_mobile">Other phone:</label>
525
                                    [% END %]
497
                                    [% END %]
526
                                    Other phone:</label>
527
498
528
                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile %]" />
499
                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile %]" />
529
                                    [% IF mandatory.defined('mobile') %]<span class="required">Required</span>[% END %]
500
                                    [% IF mandatory.defined('mobile') %]<span class="required">Required</span>[% END %]
Lines 533-543 Link Here
533
                            [% UNLESS hidden.defined('email') %]
504
                            [% UNLESS hidden.defined('email') %]
534
                                <li>
505
                                <li>
535
                                    [% IF mandatory.defined('email') %]
506
                                    [% IF mandatory.defined('email') %]
536
                                        <label for="borrower_email" class="required">
507
                                        <label for="borrower_email" class="required">Primary email:</label>
537
                                    [% ELSE %]
508
                                    [% ELSE %]
538
                                        <label for="borrower_email">
509
                                        <label for="borrower_email">Primary email:</label>
539
                                    [% END %]
510
                                    [% END %]
540
                                    Primary email:</label>
541
511
542
                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email %]" />
512
                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email %]" />
543
                                    [% IF mandatory.defined('email') %]<span class="required">Required</span>[% END %]
513
                                    [% IF mandatory.defined('email') %]<span class="required">Required</span>[% END %]
Lines 547-557 Link Here
547
                            [% UNLESS hidden.defined('emailpro') %]
517
                            [% UNLESS hidden.defined('emailpro') %]
548
                                <li>
518
                                <li>
549
                                    [% IF mandatory.defined('emailpro') %]
519
                                    [% IF mandatory.defined('emailpro') %]
550
                                        <label for="borrower_emailpro" class="required">
520
                                        <label for="borrower_emailpro" class="required">Secondary email:</label>
551
                                    [% ELSE %]
521
                                    [% ELSE %]
552
                                        <label for="borrower_emailpro">
522
                                        <label for="borrower_emailpro">Secondary email:</label>
553
                                    [% END %]
523
                                    [% END %]
554
                                    Secondary email:</label>
555
524
556
                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro %]" />
525
                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro %]" />
557
                                    [% IF mandatory.defined('emailpro') %]<span class="required">Required</span>[% END %]
526
                                    [% IF mandatory.defined('emailpro') %]<span class="required">Required</span>[% END %]
Lines 561-571 Link Here
561
                            [% UNLESS hidden.defined('fax') %]
530
                            [% UNLESS hidden.defined('fax') %]
562
                                <li>
531
                                <li>
563
                                    [% IF mandatory.defined('fax') %]
532
                                    [% IF mandatory.defined('fax') %]
564
                                        <label for="borrower_fax" class="required">
533
                                        <label for="borrower_fax" class="required">Fax:</label>
565
                                    [% ELSE %]
534
                                    [% ELSE %]
566
                                        <label for="borrower_fax">
535
                                        <label for="borrower_fax">Fax:</label>
567
                                    [% END %]
536
                                    [% END %]
568
                                    Fax:</label>
569
537
570
                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax %]" />
538
                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax %]" />
571
                                    [% IF mandatory.defined('fax') %]<span class="required">Required</span>[% END %]
539
                                    [% IF mandatory.defined('fax') %]<span class="required">Required</span>[% END %]
Lines 575-585 Link Here
575
                    </fieldset>
543
                    </fieldset>
576
                [% END %]
544
                [% END %]
577
545
578
                [% UNLESS
546
                [%# Following on one line for translatability %]
579
                    hidden.defined('B_address') && hidden.defined('B_address2') && hidden.defined('B_city') &&
547
                [% UNLESS hidden.defined('B_address') && hidden.defined('B_address2') && hidden.defined('B_city') && hidden.defined('B_state') && hidden.defined('B_zipcode') && hidden.defined('B_country') && hidden.defined('B_phone') && hidden.defined('B_email') && hidden.defined('contactnote') %]
580
                    hidden.defined('B_state') && hidden.defined('B_zipcode') && hidden.defined('B_country') &&
581
                    hidden.defined('B_phone') && hidden.defined('B_email') && hidden.defined('contactnote')
582
                %]
583
                    <fieldset class="rows" id="memberentry_alternateaddress">
548
                    <fieldset class="rows" id="memberentry_alternateaddress">
584
                        <legend id="alternateaddress_legend">Alternate address</legend>
549
                        <legend id="alternateaddress_legend">Alternate address</legend>
585
550
Lines 587-597 Link Here
587
                            [% UNLESS hidden.defined('B_address') %]
552
                            [% UNLESS hidden.defined('B_address') %]
588
                                <li>
553
                                <li>
589
                                    [% IF mandatory.defined('B_address') %]
554
                                    [% IF mandatory.defined('B_address') %]
590
                                        <label for="borrower_B_address" class="required">
555
                                        <label for="borrower_B_address" class="required">Address:</label>
591
                                    [% ELSE %]
556
                                    [% ELSE %]
592
                                        <label for="borrower_B_address">
557
                                        <label for="borrower_B_address">Address:</label>
593
                                    [% END %]
558
                                    [% END %]
594
                                    Address:</label>
595
559
596
                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address %]" />
560
                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address %]" />
597
                                    [% IF mandatory.defined('B_address') %]<span class="required">Required</span>[% END %]
561
                                    [% IF mandatory.defined('B_address') %]<span class="required">Required</span>[% END %]
Lines 601-611 Link Here
601
                            [% UNLESS hidden.defined('B_address2') %]
565
                            [% UNLESS hidden.defined('B_address2') %]
602
                                <li>
566
                                <li>
603
                                    [% IF mandatory.defined('B_address2') %]
567
                                    [% IF mandatory.defined('B_address2') %]
604
                                        <label for="borrower_B_address2" class="required">
568
                                        <label for="borrower_B_address2" class="required">Address 2:</label>
605
                                    [% ELSE %]
569
                                    [% ELSE %]
606
                                        <label for="borrower_B_address2">
570
                                        <label for="borrower_B_address2">Address 2:</label>
607
                                    [% END %]
571
                                    [% END %]
608
                                    Address 2:</label>
609
572
610
                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 %]" />
573
                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 %]" />
611
                                    [% IF mandatory.defined('B_address2') %]<span class="required">Required</span>[% END %]
574
                                    [% IF mandatory.defined('B_address2') %]<span class="required">Required</span>[% END %]
Lines 615-625 Link Here
615
                            [% UNLESS hidden.defined('B_city') %]
578
                            [% UNLESS hidden.defined('B_city') %]
616
                                <li>
579
                                <li>
617
                                    [% IF mandatory.defined('B_city') %]
580
                                    [% IF mandatory.defined('B_city') %]
618
                                        <label for="borrower_B_city" class="required">
581
                                        <label for="borrower_B_city" class="required">City:</label>
619
                                    [% ELSE %]
582
                                    [% ELSE %]
620
                                        <label for="borrower_B_city">
583
                                        <label for="borrower_B_city">City:</label>
621
                                    [% END %]
584
                                    [% END %]
622
                                    City:</label>
623
585
624
                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city %]" />
586
                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city %]" />
625
                                    [% IF mandatory.defined('B_city') %]<span class="required">Required</span>[% END %]
587
                                    [% IF mandatory.defined('B_city') %]<span class="required">Required</span>[% END %]
Lines 629-639 Link Here
629
                            [% UNLESS hidden.defined('B_state') %]
591
                            [% UNLESS hidden.defined('B_state') %]
630
                                <li>
592
                                <li>
631
                                    [% IF mandatory.defined('B_state') %]
593
                                    [% IF mandatory.defined('B_state') %]
632
                                        <label for="borrower_B_state" class="required">
594
                                        <label for="borrower_B_state" class="required">State:</label>
633
                                    [% ELSE %]
595
                                    [% ELSE %]
634
                                        <label for="borrower_B_state">
596
                                        <label for="borrower_B_state">State:</label>
635
                                    [% END %]
597
                                    [% END %]
636
                                    State:</label>
637
598
638
                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state %]" />
599
                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state %]" />
639
                                    [% IF mandatory.defined('B_state') %]<span class="required">Required</span>[% END %]
600
                                    [% IF mandatory.defined('B_state') %]<span class="required">Required</span>[% END %]
Lines 643-653 Link Here
643
                            [% UNLESS hidden.defined('B_zipcode') %]
604
                            [% UNLESS hidden.defined('B_zipcode') %]
644
                                <li>
605
                                <li>
645
                                    [% IF mandatory.defined('B_zipcode') %]
606
                                    [% IF mandatory.defined('B_zipcode') %]
646
                                        <label for="borrower_B_zipcode" class="required">
607
                                        <label for="borrower_B_zipcode" class="required">ZIP/Postal code:</label>
647
                                    [% ELSE %]
608
                                    [% ELSE %]
648
                                        <label for="borrower_B_zipcode">
609
                                        <label for="borrower_B_zipcode">ZIP/Postal code:</label>
649
                                    [% END %]
610
                                    [% END %]
650
                                    ZIP/Postal code:</label>
651
611
652
                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode %]" />
612
                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode %]" />
653
                                    [% IF mandatory.defined('B_zipcode') %]<span class="required">Required</span>[% END %]
613
                                    [% IF mandatory.defined('B_zipcode') %]<span class="required">Required</span>[% END %]
Lines 657-667 Link Here
657
                            [% UNLESS hidden.defined('B_country') %]
617
                            [% UNLESS hidden.defined('B_country') %]
658
                                <li>
618
                                <li>
659
                                    [% IF mandatory.defined('B_country') %]
619
                                    [% IF mandatory.defined('B_country') %]
660
                                        <label for="borrower_B_country" class="required">
620
                                        <label for="borrower_B_country" class="required">Country:</label>
661
                                    [% ELSE %]
621
                                    [% ELSE %]
662
                                        <label for="borrower_B_country">
622
                                        <label for="borrower_B_country">Country:</label>
663
                                    [% END %]
623
                                    [% END %]
664
                                    Country:</label>
665
624
666
                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country %]" />
625
                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country %]" />
667
                                    [% IF mandatory.defined('B_country') %]<span class="required">Required</span>[% END %]
626
                                    [% IF mandatory.defined('B_country') %]<span class="required">Required</span>[% END %]
Lines 671-681 Link Here
671
                            [% UNLESS hidden.defined('B_phone') %]
630
                            [% UNLESS hidden.defined('B_phone') %]
672
                                <li>
631
                                <li>
673
                                    [% IF mandatory.defined('B_phone') %]
632
                                    [% IF mandatory.defined('B_phone') %]
674
                                        <label for="borrower_B_phone" class="required">
633
                                        <label for="borrower_B_phone" class="required">Phone:</label>
675
                                    [% ELSE %]
634
                                    [% ELSE %]
676
                                        <label for="borrower_B_phone">
635
                                        <label for="borrower_B_phone">Phone:</label>
677
                                    [% END %]
636
                                    [% END %]
678
                                    Phone:</label>
679
637
680
                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone %]" />
638
                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone %]" />
681
                                    [% IF mandatory.defined('B_phone') %]<span class="required">Required</span>[% END %]
639
                                    [% IF mandatory.defined('B_phone') %]<span class="required">Required</span>[% END %]
Lines 685-695 Link Here
685
                            [% UNLESS hidden.defined('B_email') %]
643
                            [% UNLESS hidden.defined('B_email') %]
686
                                <li>
644
                                <li>
687
                                    [% IF mandatory.defined('B_email') %]
645
                                    [% IF mandatory.defined('B_email') %]
688
                                        <label for="borrower_B_email" class="required">
646
                                        <label for="borrower_B_email" class="required">Email:</label>
689
                                    [% ELSE %]
647
                                    [% ELSE %]
690
                                        <label for="borrower_B_email">
648
                                        <label for="borrower_B_email">Email:</label>
691
                                    [% END %]
649
                                    [% END %]
692
                                    Email:</label>
693
650
694
                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email %]" />
651
                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email %]" />
695
                                    [% IF mandatory.defined('B_email') %]<span class="required">Required</span>[% END %]
652
                                    [% IF mandatory.defined('B_email') %]<span class="required">Required</span>[% END %]
Lines 699-709 Link Here
699
                            [% UNLESS hidden.defined('contactnote') %]
656
                            [% UNLESS hidden.defined('contactnote') %]
700
                                <li>
657
                                <li>
701
                                    [% IF mandatory.defined('contactnote') %]
658
                                    [% IF mandatory.defined('contactnote') %]
702
                                        <label for="borrower_contactnote" class="required">
659
                                        <label for="borrower_contactnote" class="required">Contact note:</label>
703
                                    [% ELSE %]
660
                                    [% ELSE %]
704
                                        <label for="borrower_contactnote">
661
                                        <label for="borrower_contactnote">Contact note:</label>
705
                                    [% END %]
662
                                    [% END %]
706
                                    Contact note:</label>
707
663
708
                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2">[% borrower.contactnote %]</textarea>
664
                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2">[% borrower.contactnote %]</textarea>
709
                                    [% IF mandatory.defined('contactnote') %]<span class="required">Required</span>[% END %]
665
                                    [% IF mandatory.defined('contactnote') %]<span class="required">Required</span>[% END %]
Lines 714-724 Link Here
714
                    </fieldset>
670
                    </fieldset>
715
                [% END %]
671
                [% END %]
716
672
717
                [% UNLESS
673
                [%# Following on one line for translatability %]
718
                    hidden.defined('altcontactsurname') && hidden.defined('altcontactfirstname') && hidden.defined('altcontactaddress1') &&
674
                [% UNLESS hidden.defined('altcontactsurname') && hidden.defined('altcontactfirstname') && hidden.defined('altcontactaddress1') && hidden.defined('altcontactaddress2') && hidden.defined('altcontactaddress3') && hidden.defined('altcontactstate') && hidden.defined('altcontactzipcode') && hidden.defined('altcontactcountry') && hidden.defined('altcontactphone') %]
719
                    hidden.defined('altcontactaddress2') && hidden.defined('altcontactaddress3') && hidden.defined('altcontactstate') &&
720
                    hidden.defined('altcontactzipcode') && hidden.defined('altcontactcountry') && hidden.defined('altcontactphone')
721
                %]
722
                    <fieldset class="rows" id="memberentry_alternatecontact">
675
                    <fieldset class="rows" id="memberentry_alternatecontact">
723
                        <legend id="alternatecontact_legend">Alternate contact</legend>
676
                        <legend id="alternatecontact_legend">Alternate contact</legend>
724
677
Lines 726-736 Link Here
726
                            [% UNLESS hidden.defined('altcontactsurname') %]
679
                            [% UNLESS hidden.defined('altcontactsurname') %]
727
                                <li>
680
                                <li>
728
                                    [% IF mandatory.defined('altcontactsurname') %]
681
                                    [% IF mandatory.defined('altcontactsurname') %]
729
                                        <label for="borrower_altcontactsurname" class="required">
682
                                        <label for="borrower_altcontactsurname" class="required">Surname:</label>
730
                                    [% ELSE %]
683
                                    [% ELSE %]
731
                                        <label for="borrower_altcontactsurname">
684
                                        <label for="borrower_altcontactsurname">Surname:</label>
732
                                    [% END %]
685
                                    [% END %]
733
                                    Surname:</label>
734
686
735
                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname %]" />
687
                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname %]" />
736
                                    [% IF mandatory.defined('altcontactsurname') %]<span class="required">Required</span>[% END %]
688
                                    [% IF mandatory.defined('altcontactsurname') %]<span class="required">Required</span>[% END %]
Lines 740-750 Link Here
740
                            [% UNLESS hidden.defined('altcontactfirstname') %]
692
                            [% UNLESS hidden.defined('altcontactfirstname') %]
741
                                <li>
693
                                <li>
742
                                    [% IF mandatory.defined('altcontactfirstname') %]
694
                                    [% IF mandatory.defined('altcontactfirstname') %]
743
                                        <label for="borrower_altcontactfirstname" class="required">
695
                                        <label for="borrower_altcontactfirstname" class="required">First name:</label>
744
                                    [% ELSE %]
696
                                    [% ELSE %]
745
                                        <label for="borrower_altcontactfirstname">
697
                                        <label for="borrower_altcontactfirstname">First name:</label>
746
                                    [% END %]
698
                                    [% END %]
747
                                    First name:</label>
748
699
749
                                    <input type="text" id="borrower_altcontactfirstname" name="borrower_altcontactfirstname" value="[% borrower.altcontactfirstname %]" />
700
                                    <input type="text" id="borrower_altcontactfirstname" name="borrower_altcontactfirstname" value="[% borrower.altcontactfirstname %]" />
750
                                    [% IF mandatory.defined('altcontactfirstname') %]<span class="required">Required</span>[% END %]
701
                                    [% IF mandatory.defined('altcontactfirstname') %]<span class="required">Required</span>[% END %]
Lines 754-764 Link Here
754
                            [% UNLESS hidden.defined('altcontactaddress1') %]
705
                            [% UNLESS hidden.defined('altcontactaddress1') %]
755
                                <li>
706
                                <li>
756
                                    [% IF mandatory.defined('altcontactaddress1') %]
707
                                    [% IF mandatory.defined('altcontactaddress1') %]
757
                                        <label for="borrower_altcontactaddress1" class="required">
708
                                        <label for="borrower_altcontactaddress1" class="required">Address:</label>
758
                                    [% ELSE %]
709
                                    [% ELSE %]
759
                                        <label for="borrower_altcontactaddress1">
710
                                        <label for="borrower_altcontactaddress1">Address:</label>
760
                                    [% END %]
711
                                    [% END %]
761
                                    Address:</label>
762
712
763
                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 %]" />
713
                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 %]" />
764
                                    [% IF mandatory.defined('altcontactaddress1') %]<span class="required">Required</span>[% END %]
714
                                    [% IF mandatory.defined('altcontactaddress1') %]<span class="required">Required</span>[% END %]
Lines 768-778 Link Here
768
                            [% UNLESS hidden.defined('altcontactaddress2') %]
718
                            [% UNLESS hidden.defined('altcontactaddress2') %]
769
                                <li>
719
                                <li>
770
                                    [% IF mandatory.defined('altcontactaddress2') %]
720
                                    [% IF mandatory.defined('altcontactaddress2') %]
771
                                        <label for="borrower_altcontactaddress2" class="required">
721
                                        <label for="borrower_altcontactaddress2" class="required">Address 2:</label>
772
                                    [% ELSE %]
722
                                    [% ELSE %]
773
                                        <label for="borrower_altcontactaddress2">
723
                                        <label for="borrower_altcontactaddress2">Address 2:</label>
774
                                    [% END %]
724
                                    [% END %]
775
                                    Address 2:</label>
776
725
777
                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 %]" />
726
                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 %]" />
778
                                    [% IF mandatory.defined('altcontactaddress2') %]<span class="required">Required</span>[% END %]
727
                                    [% IF mandatory.defined('altcontactaddress2') %]<span class="required">Required</span>[% END %]
Lines 782-792 Link Here
782
                            [% UNLESS hidden.defined('altcontactaddress3') %]
731
                            [% UNLESS hidden.defined('altcontactaddress3') %]
783
                                <li>
732
                                <li>
784
                                    [% IF mandatory.defined('altcontactaddress3') %]
733
                                    [% IF mandatory.defined('altcontactaddress3') %]
785
                                        <label for="borrower_altcontactaddress3" class="required">
734
                                        <label for="borrower_altcontactaddress3" class="required">City:</label>
786
                                    [% ELSE %]
735
                                    [% ELSE %]
787
                                        <label for="borrower_altcontactaddress3">
736
                                        <label for="borrower_altcontactaddress3">City:</label>
788
                                    [% END %]
737
                                    [% END %]
789
                                    City:</label>
790
738
791
                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 %]" />
739
                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 %]" />
792
                                    [% IF mandatory.defined('altcontactaddress3') %]<span class="required">Required</span>[% END %]
740
                                    [% IF mandatory.defined('altcontactaddress3') %]<span class="required">Required</span>[% END %]
Lines 796-806 Link Here
796
                            [% UNLESS hidden.defined('altcontactstate') %]
744
                            [% UNLESS hidden.defined('altcontactstate') %]
797
                                <li>
745
                                <li>
798
                                    [% IF mandatory.defined('altcontactstate') %]
746
                                    [% IF mandatory.defined('altcontactstate') %]
799
                                        <label for="borrower_altcontactstate" class="required">
747
                                        <label for="borrower_altcontactstate" class="required">State:</label>
800
                                    [% ELSE %]
748
                                    [% ELSE %]
801
                                        <label for="borrower_altcontactstate">
749
                                        <label for="borrower_altcontactstate">State:</label>
802
                                    [% END %]
750
                                    [% END %]
803
                                    State:</label>
804
751
805
                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate %]" />
752
                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate %]" />
806
                                    [% IF mandatory.defined('altcontactstate') %]<span class="required">Required</span>[% END %]
753
                                    [% IF mandatory.defined('altcontactstate') %]<span class="required">Required</span>[% END %]
Lines 810-820 Link Here
810
                            [% UNLESS hidden.defined('altcontactzipcode') %]
757
                            [% UNLESS hidden.defined('altcontactzipcode') %]
811
                                <li>
758
                                <li>
812
                                    [% IF mandatory.defined('altcontactzipcode') %]
759
                                    [% IF mandatory.defined('altcontactzipcode') %]
813
                                        <label for="borrower_altcontactzipcode" class="required">
760
                                        <label for="borrower_altcontactzipcode" class="required">ZIP/Postal code:</label>
814
                                    [% ELSE %]
761
                                    [% ELSE %]
815
                                        <label for="borrower_altcontactzipcode">
762
                                        <label for="borrower_altcontactzipcode">ZIP/Postal code:</label>
816
                                    [% END %]
763
                                    [% END %]
817
                                    ZIP/Postal code:</label>
818
764
819
                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode %]" />
765
                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode %]" />
820
                                    [% IF mandatory.defined('altcontactzipcode') %]<span class="required">Required</span>[% END %]
766
                                    [% IF mandatory.defined('altcontactzipcode') %]<span class="required">Required</span>[% END %]
Lines 824-834 Link Here
824
                            [% UNLESS hidden.defined('altcontactcountry') %]
770
                            [% UNLESS hidden.defined('altcontactcountry') %]
825
                                <li>
771
                                <li>
826
                                    [% IF mandatory.defined('altcontactcountry') %]
772
                                    [% IF mandatory.defined('altcontactcountry') %]
827
                                        <label for="borrower_altcontactcountry" class="required">
773
                                        <label for="borrower_altcontactcountry" class="required">Country:</label>
828
                                    [% ELSE %]
774
                                    [% ELSE %]
829
                                        <label for="borrower_altcontactcountry">
775
                                        <label for="borrower_altcontactcountry">Country:</label>
830
                                    [% END %]
776
                                    [% END %]
831
                                    Country:</label>
832
777
833
                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry %]" />
778
                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry %]" />
834
                                    [% IF mandatory.defined('altcontactcountry') %]<span class="required">Required</span>[% END %]
779
                                    [% IF mandatory.defined('altcontactcountry') %]<span class="required">Required</span>[% END %]
Lines 838-848 Link Here
838
                            [% UNLESS hidden.defined('altcontactphone') %]
783
                            [% UNLESS hidden.defined('altcontactphone') %]
839
                                <li>
784
                                <li>
840
                                    [% IF mandatory.defined('altcontactphone') %]
785
                                    [% IF mandatory.defined('altcontactphone') %]
841
                                        <label for="borrower_altcontactphone" class="required">
786
                                        <label for="borrower_altcontactphone" class="required">Phone:</label>
842
                                    [% ELSE %]
787
                                    [% ELSE %]
843
                                        <label for="borrower_altcontactphone">
788
                                        <label for="borrower_altcontactphone">Phone:</label>
844
                                    [% END %]
789
                                    [% END %]
845
                                    Phone:</label>
846
790
847
                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone %]" />
791
                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone %]" />
848
                                    [% IF mandatory.defined('altcontactphone') %]<span class="required">Required</span>[% END %]
792
                                    [% IF mandatory.defined('altcontactphone') %]<span class="required">Required</span>[% END %]
Lines 861-867 Link Here
861
                                    <p>Your password must be at least [% Koha.Preference('minPasswordLength') %] characters long.</p>
805
                                    <p>Your password must be at least [% Koha.Preference('minPasswordLength') %] characters long.</p>
862
                                [% END %]
806
                                [% END %]
863
                                [% UNLESS mandatory.defined('password') %]
807
                                [% UNLESS mandatory.defined('password') %]
864
                                    If you do not enter a password a system generated password will be created.
808
                                    <div>If you do not enter a password a system generated password will be created.</div>
865
                                [% END %]
809
                                [% END %]
866
                            </div>
810
                            </div>
867
                        [% END %]
811
                        [% END %]
868
- 

Return to bug 18777