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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-43 / +198 lines)
Lines 399-405 Link Here
399
                                                <li>
399
                                                <li>
400
                                                    <label for="borrower_surname" class="[% required.surname | html %]">Surname:</label>
400
                                                    <label for="borrower_surname" class="[% required.surname | html %]">Surname:</label>
401
401
402
                                                    <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname | html %]" class="[% required.surname | html %]" />
402
                                                    <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname | html %]" class="[% required.surname | html %]" [% IF required.surname %]required[% END %] />
403
                                                    <div class="required_label [% required.surname | html %]">Required</div>
403
                                                    <div class="required_label [% required.surname | html %]">Required</div>
404
                                                </li>
404
                                                </li>
405
                                            [% END %]
405
                                            [% END %]
Lines 408-414 Link Here
408
                                                <li>
408
                                                <li>
409
                                                    <label for="borrower_firstname" class="[% required.firstname | html %]">First name:</label>
409
                                                    <label for="borrower_firstname" class="[% required.firstname | html %]">First name:</label>
410
410
411
                                                    <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname | html %]" class="[% required.firstname | html %]" />
411
                                                    <input
412
                                                        type="text"
413
                                                        id="borrower_firstname"
414
                                                        name="borrower_firstname"
415
                                                        value="[% borrower.firstname | html %]"
416
                                                        class="[% required.firstname | html %]"
417
                                                        [% IF required.firstname %]required[% END %]
418
                                                    />
412
                                                    <div class="required_label [% required.firstname | html %]">Required</div>
419
                                                    <div class="required_label [% required.firstname | html %]">Required</div>
413
                                                </li>
420
                                                </li>
414
                                            [% END %]
421
                                            [% END %]
Lines 417-423 Link Here
417
                                                <li>
424
                                                <li>
418
                                                    <label for="borrower_middle_name" class="[% required.middle_name | html %]">Middle name:</label>
425
                                                    <label for="borrower_middle_name" class="[% required.middle_name | html %]">Middle name:</label>
419
426
420
                                                    <input type="text" id="borrower_middle_name" name="borrower_middle_name" value="[% borrower.middle_name | html %]" class="[% required.middle_name | html %]" />
427
                                                    <input
428
                                                        type="text"
429
                                                        id="borrower_middle_name"
430
                                                        name="borrower_middle_name"
431
                                                        value="[% borrower.middle_name | html %]"
432
                                                        class="[% required.middle_name | html %]"
433
                                                        [% IF required.middle_name %]required[% END %]
434
                                                    />
421
                                                    <div class="required_label [% required.middle_name | html %]">Required</div>
435
                                                    <div class="required_label [% required.middle_name | html %]">Required</div>
422
                                                </li>
436
                                                </li>
423
                                            [% END %]
437
                                            [% END %]
Lines 426-432 Link Here
426
                                                <li>
440
                                                <li>
427
                                                    <label for="borrower_preferred_name" class="[% required.preferred_name | html %]">Preferred name:</label>
441
                                                    <label for="borrower_preferred_name" class="[% required.preferred_name | html %]">Preferred name:</label>
428
442
429
                                                    <input type="text" id="borrower_preferred_name" name="borrower_preferred_name" value="[% borrower.preferred_name | html %]" class="[% required.preferred_name | html %]" />
443
                                                    <input
444
                                                        type="text"
445
                                                        id="borrower_preferred_name"
446
                                                        name="borrower_preferred_name"
447
                                                        value="[% borrower.preferred_name | html %]"
448
                                                        class="[% required.preferred_name | html %]"
449
                                                        [% IF required.preferred_name %]required[% END %]
450
                                                    />
430
                                                    <div class="required_label [% required.preferred_name | html %]">Required</div>
451
                                                    <div class="required_label [% required.preferred_name | html %]">Required</div>
431
                                                </li>
452
                                                </li>
432
                                            [% END %]
453
                                            [% END %]
Lines 435-441 Link Here
435
                                                <li>
456
                                                <li>
436
                                                    <label for="borrower_dateofbirth" class="[% required.dateofbirth | html %]">Date of birth:</label>
457
                                                    <label for="borrower_dateofbirth" class="[% required.dateofbirth | html %]">Date of birth:</label>
437
458
438
                                                    <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | html %]" size="10" class="[% required.dateofbirth | html %] flatpickr pastdate" />
459
                                                    <input
460
                                                        type="text"
461
                                                        id="borrower_dateofbirth"
462
                                                        name="borrower_dateofbirth"
463
                                                        value="[% borrower.dateofbirth | html %]"
464
                                                        size="10"
465
                                                        class="[% required.dateofbirth | html %] flatpickr pastdate"
466
                                                        [% IF required.dateofbirth %]required[% END %]
467
                                                    />
439
468
440
                                                    <div class="required_label [% required.dateofbirth | html %]">Required</div>
469
                                                    <div class="required_label [% required.dateofbirth | html %]">Required</div>
441
                                                </li>
470
                                                </li>
Lines 445-451 Link Here
445
                                                <li>
474
                                                <li>
446
                                                    <label for="borrower_initials" class="[% required.initials | html %]">Initials:</label>
475
                                                    <label for="borrower_initials" class="[% required.initials | html %]">Initials:</label>
447
476
448
                                                    <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials | html %]" class="[% required.initials | html %]" />
477
                                                    <input
478
                                                        type="text"
479
                                                        id="borrower_initials"
480
                                                        name="borrower_initials"
481
                                                        value="[% borrower.initials | html %]"
482
                                                        class="[% required.initials | html %]"
483
                                                        [% IF required.initials %]required[% END %]
484
                                                    />
449
                                                    <div class="required_label [% required.initials | html %]">Required</div>
485
                                                    <div class="required_label [% required.initials | html %]">Required</div>
450
                                                </li>
486
                                                </li>
451
                                            [% END %]
487
                                            [% END %]
Lines 454-460 Link Here
454
                                                <li>
490
                                                <li>
455
                                                    <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
491
                                                    <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
456
492
457
                                                    <input type="text" id="borrower_pronouns" name="borrower_pronouns" value="[% borrower.pronouns | html %]" class="[% required.prnouns | html %]" />
493
                                                    <input
494
                                                        type="text"
495
                                                        id="borrower_pronouns"
496
                                                        name="borrower_pronouns"
497
                                                        value="[% borrower.pronouns | html %]"
498
                                                        class="[% required.pronouns | html %]"
499
                                                        [% IF required.pronouns %]required[% END %]
500
                                                    />
458
                                                    <div class="required_label [% required.pronouns | html %]">Required</div>
501
                                                    <div class="required_label [% required.pronouns | html %]">Required</div>
459
                                                </li>
502
                                                </li>
460
                                            [% END %]
503
                                            [% END %]
Lines 463-469 Link Here
463
                                                <li>
506
                                                <li>
464
                                                    <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
507
                                                    <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
465
508
466
                                                    <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames | html %]" class="[% required.othernames | html %]" />
509
                                                    <input
510
                                                        type="text"
511
                                                        id="borrower_othernames"
512
                                                        name="borrower_othernames"
513
                                                        value="[% borrower.othernames | html %]"
514
                                                        class="[% required.othernames | html %]"
515
                                                        [% IF required.othernames %]required[% END %]
516
                                                    />
467
                                                    <div class="required_label [% required.othernames | html %]">Required</div>
517
                                                    <div class="required_label [% required.othernames | html %]">Required</div>
468
                                                </li>
518
                                                </li>
469
                                            [% END %]
519
                                            [% END %]
Lines 531-537 Link Here
531
                                                    <li>
581
                                                    <li>
532
                                                        <label for="borrower_streettype" class="[% required.streettype | html %]">Street type:</label>
582
                                                        <label for="borrower_streettype" class="[% required.streettype | html %]">Street type:</label>
533
583
534
                                                        <select name="borrower_streettype" name="borrower_streettype" class="[% required.streettype | html %]">
584
                                                        <select name="borrower_streettype" name="borrower_streettype" class="[% required.streettype | html %]" [% IF required.streettype %]required[% END %]>
535
                                                            <option value=""></option>
585
                                                            <option value=""></option>
536
                                                            [% FOR roadtype IN roadtypes %]
586
                                                            [% FOR roadtype IN roadtypes %]
537
                                                                [% IF roadtype.authorised_value == patron.streettype %]
587
                                                                [% IF roadtype.authorised_value == patron.streettype %]
Lines 550-556 Link Here
550
                                                <li>
600
                                                <li>
551
                                                    <label for="borrower_address" class="[% required.address | html %]">Address:</label>
601
                                                    <label for="borrower_address" class="[% required.address | html %]">Address:</label>
552
602
553
                                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address | html %]" class="[% required.address | html %]" />
603
                                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address | html %]" class="[% required.address | html %]" [% IF required.address %]required[% END %] />
554
                                                    <div class="required_label [% required.address | html %]">Required</div>
604
                                                    <div class="required_label [% required.address | html %]">Required</div>
555
                                                </li>
605
                                                </li>
556
                                            [% END %]
606
                                            [% END %]
Lines 561-567 Link Here
561
                                                <li>
611
                                                <li>
562
                                                    <label for="borrower_address2" class="[% required.address2 | html %]">Address 2:</label>
612
                                                    <label for="borrower_address2" class="[% required.address2 | html %]">Address 2:</label>
563
613
564
                                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 | html %]" class="[% required.address2 | html %]" />
614
                                                    <input
615
                                                        type="text"
616
                                                        id="borrower_address2"
617
                                                        name="borrower_address2"
618
                                                        value="[% borrower.address2 | html %]"
619
                                                        class="[% required.address2 | html %]"
620
                                                        [% IF required.address2 %]required[% END %]
621
                                                    />
565
                                                    <div class="required_label [% required.address2 | html %]">Required</div>
622
                                                    <div class="required_label [% required.address2 | html %]">Required</div>
566
                                                </li>
623
                                                </li>
567
                                            [% END %]
624
                                            [% END %]
Lines 570-576 Link Here
570
                                                <li>
627
                                                <li>
571
                                                    <label for="borrower_city" class="[% required.city | html %]">City:</label>
628
                                                    <label for="borrower_city" class="[% required.city | html %]">City:</label>
572
629
573
                                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city | html %]" class="[% required.city | html %]" />
630
                                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city | html %]" class="[% required.city | html %]" [% IF required.city %]required[% END %] />
574
                                                    <div class="required_label [% required.city | html %]">Required</div>
631
                                                    <div class="required_label [% required.city | html %]">Required</div>
575
                                                </li>
632
                                                </li>
576
                                            [% END %]
633
                                            [% END %]
Lines 579-585 Link Here
579
                                                <li>
636
                                                <li>
580
                                                    <label for="borrower_state" class="[% required.state | html %]">State:</label>
637
                                                    <label for="borrower_state" class="[% required.state | html %]">State:</label>
581
638
582
                                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state | html %]" class="[% required.state | html %]" />
639
                                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state | html %]" class="[% required.state | html %]" [% IF required.state %]required[% END %] />
583
                                                    <div class="required_label [% required.state | html %]">Required</div>
640
                                                    <div class="required_label [% required.state | html %]">Required</div>
584
                                                </li>
641
                                                </li>
585
                                            [% END %]
642
                                            [% END %]
Lines 588-594 Link Here
588
                                                <li>
645
                                                <li>
589
                                                    <label for="borrower_zipcode" class="[% required.zipcode | html %]">ZIP/Postal code:</label>
646
                                                    <label for="borrower_zipcode" class="[% required.zipcode | html %]">ZIP/Postal code:</label>
590
647
591
                                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode | html %]" class="[% required.zipcode | html %]" />
648
                                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode | html %]" class="[% required.zipcode | html %]" [% IF required.zipcode %]required[% END %] />
592
                                                    <div class="required_label [% required.zipcode | html %]">Required</div>
649
                                                    <div class="required_label [% required.zipcode | html %]">Required</div>
593
                                                </li>
650
                                                </li>
594
                                            [% END %]
651
                                            [% END %]
Lines 597-603 Link Here
597
                                                <li>
654
                                                <li>
598
                                                    <label for="borrower_country" class="[% required.country | html %]">Country:</label>
655
                                                    <label for="borrower_country" class="[% required.country | html %]">Country:</label>
599
656
600
                                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country | html %]" class="[% required.country | html %]" />
657
                                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country | html %]" class="[% required.country | html %]" [% IF required.country %]required[% END %] />
601
                                                    <div class="required_label [% required.country | html %]">Required</div>
658
                                                    <div class="required_label [% required.country | html %]">Required</div>
602
                                                </li>
659
                                                </li>
603
                                            [% END %]
660
                                            [% END %]
Lines 621-627 Link Here
621
                                                <li>
678
                                                <li>
622
                                                    <label for="borrower_phone" class="[% required.phone | html %]">Primary phone:</label>
679
                                                    <label for="borrower_phone" class="[% required.phone | html %]">Primary phone:</label>
623
680
624
                                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone | html %]" class="[% required.phone | html %]" />
681
                                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone | html %]" class="[% required.phone | html %]" [% IF required.phone %]required[% END %] />
625
                                                    <div class="required_label [% required.phone | html %]">Required</div>
682
                                                    <div class="required_label [% required.phone | html %]">Required</div>
626
                                                </li>
683
                                                </li>
627
                                            [% END %]
684
                                            [% END %]
Lines 630-636 Link Here
630
                                                <li>
687
                                                <li>
631
                                                    <label for="borrower_phonepro" class="[% required.phonepro | html %]">Secondary phone:</label>
688
                                                    <label for="borrower_phonepro" class="[% required.phonepro | html %]">Secondary phone:</label>
632
689
633
                                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro | html %]" class="[% required.phonepro | html %]" />
690
                                                    <input
691
                                                        type="text"
692
                                                        id="borrower_phonepro"
693
                                                        name="borrower_phonepro"
694
                                                        value="[% borrower.phonepro | html %]"
695
                                                        class="[% required.phonepro | html %]"
696
                                                        [% IF required.phonepro %]required[% END %]
697
                                                    />
634
                                                    <div class="required_label [% required.phonepro | html %]">Required</div>
698
                                                    <div class="required_label [% required.phonepro | html %]">Required</div>
635
                                                </li>
699
                                                </li>
636
                                            [% END %]
700
                                            [% END %]
Lines 639-645 Link Here
639
                                                <li>
703
                                                <li>
640
                                                    <label for="borrower_mobile" class="[% required.mobile | html %]">Other phone:</label>
704
                                                    <label for="borrower_mobile" class="[% required.mobile | html %]">Other phone:</label>
641
705
642
                                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile | html %]" class="[% required.mobile | html %]" />
706
                                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile | html %]" class="[% required.mobile | html %]" [% IF required.mobile %]required[% END %] />
643
                                                    <div class="required_label [% required.mobile | html %]">Required</div>
707
                                                    <div class="required_label [% required.mobile | html %]">Required</div>
644
                                                </li>
708
                                                </li>
645
                                            [% END %]
709
                                            [% END %]
Lines 648-654 Link Here
648
                                                <li>
712
                                                <li>
649
                                                    <label for="borrower_email" class="[% required.email | html %]">Primary email:</label>
713
                                                    <label for="borrower_email" class="[% required.email | html %]">Primary email:</label>
650
714
651
                                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email | html %]" class="[% required.email | html %]" />
715
                                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email | html %]" class="[% required.email | html %]" [% IF required.email %]required[% END %] />
652
                                                    <div class="required_label [% required.email | html %]">Required</div>
716
                                                    <div class="required_label [% required.email | html %]">Required</div>
653
                                                </li>
717
                                                </li>
654
718
Lines 656-662 Link Here
656
                                                    <li>
720
                                                    <li>
657
                                                        <label for="borrower_repeat_email" class="[% required.email | html %]">Confirm primary email:</label>
721
                                                        <label for="borrower_repeat_email" class="[% required.email | html %]">Confirm primary email:</label>
658
722
659
                                                        <input type="text" id="borrower_repeat_email" name="borrower_repeat_email" autocomplete="off" class="[% required.email | html %]" />
723
                                                        <input type="text" id="borrower_repeat_email" name="borrower_repeat_email" autocomplete="off" class="[% required.email | html %]" [% IF required.email %]required[% END %] />
660
                                                        <div class="required_label [% required.email | html %]">Required</div>
724
                                                        <div class="required_label [% required.email | html %]">Required</div>
661
                                                    </li>
725
                                                    </li>
662
                                                [% END %]
726
                                                [% END %]
Lines 666-672 Link Here
666
                                                <li>
730
                                                <li>
667
                                                    <label for="borrower_emailpro" class="[% required.emailpro | html %]">Secondary email:</label>
731
                                                    <label for="borrower_emailpro" class="[% required.emailpro | html %]">Secondary email:</label>
668
732
669
                                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro | html %]" class="[% required.emailpro | html %]" />
733
                                                    <input
734
                                                        type="text"
735
                                                        id="borrower_emailpro"
736
                                                        name="borrower_emailpro"
737
                                                        value="[% borrower.emailpro | html %]"
738
                                                        class="[% required.emailpro | html %]"
739
                                                        [% IF required.emailpro %]required[% END %]
740
                                                    />
670
                                                    <div class="required_label [% required.emailpro | html %]">Required</div>
741
                                                    <div class="required_label [% required.emailpro | html %]">Required</div>
671
                                                </li>
742
                                                </li>
672
                                            [% END %]
743
                                            [% END %]
Lines 675-681 Link Here
675
                                                <li>
746
                                                <li>
676
                                                    <label for="borrower_fax" class="[% required.fax | html %]">Fax:</label>
747
                                                    <label for="borrower_fax" class="[% required.fax | html %]">Fax:</label>
677
748
678
                                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax | html %]" class="[% required.fax | html %]" />
749
                                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax | html %]" class="[% required.fax | html %]" [% IF required.fax %]required[% END %] />
679
                                                    <div class="required_label [% required.fax | html %]">Required</div>
750
                                                    <div class="required_label [% required.fax | html %]">Required</div>
680
                                                </li>
751
                                                </li>
681
                                            [% END %]
752
                                            [% END %]
Lines 688-694 Link Here
688
                                                        <label for="borrower_primary_contact_method">Main contact method:</label>
759
                                                        <label for="borrower_primary_contact_method">Main contact method:</label>
689
                                                    [% END %]
760
                                                    [% END %]
690
761
691
                                                    <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
762
                                                    <select id="borrower_primary_contact_method" name="borrower_primary_contact_method" [% IF ( mandatory.defined('primary_contact_method') ) %]required[% END %]>
692
                                                        <option value=""></option>
763
                                                        <option value=""></option>
693
                                                        [% UNLESS hidden.defined('phone') %]
764
                                                        [% UNLESS hidden.defined('phone') %]
694
                                                            [% IF ( borrower.primary_contact_method == 'phone' ) %]
765
                                                            [% IF ( borrower.primary_contact_method == 'phone' ) %]
Lines 742-748 Link Here
742
                                                        [% ELSE %]
813
                                                        [% ELSE %]
743
                                                            <label for="borrower_lang">Preferred language for notices: </label>
814
                                                            <label for="borrower_lang">Preferred language for notices: </label>
744
                                                        [% END %]
815
                                                        [% END %]
745
                                                        <select id="borrower_lang" name="borrower_lang">
816
                                                        <select id="borrower_lang" name="borrower_lang" [% IF ( mandatory.defined('lang') ) %]required[% END %]>
746
                                                            <option value="default">Default</option>
817
                                                            <option value="default">Default</option>
747
                                                            [% FOR language IN languages %]
818
                                                            [% FOR language IN languages %]
748
                                                                [% FOR sublanguage IN language.sublanguages_loop %]
819
                                                                [% FOR sublanguage IN language.sublanguages_loop %]
Lines 797-803 Link Here
797
                                                    <li>
868
                                                    <li>
798
                                                        <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
869
                                                        <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
799
870
800
                                                        <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]">
871
                                                        <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]" [% IF required.B_streettype %]required[% END %]>
801
                                                            <option value=""></option>
872
                                                            <option value=""></option>
802
                                                            [% FOR roadtype IN roadtypes %]
873
                                                            [% FOR roadtype IN roadtypes %]
803
                                                                [% IF roadtype.authorised_value == patron.streettype %]
874
                                                                [% IF roadtype.authorised_value == patron.streettype %]
Lines 815-821 Link Here
815
                                                <li>
886
                                                <li>
816
                                                    <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
887
                                                    <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
817
888
818
                                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address | html %]" class="[% required.B_address | html %]" />
889
                                                    <input
890
                                                        type="text"
891
                                                        id="borrower_B_address"
892
                                                        name="borrower_B_address"
893
                                                        value="[% borrower.B_address | html %]"
894
                                                        class="[% required.B_address | html %]"
895
                                                        [% IF required.B_address %]required[% END %]
896
                                                    />
819
                                                    <div class="required_label [% required.B_address | html %]">Required</div>
897
                                                    <div class="required_label [% required.B_address | html %]">Required</div>
820
                                                </li>
898
                                                </li>
821
                                            [% END %]
899
                                            [% END %]
Lines 826-832 Link Here
826
                                                <li>
904
                                                <li>
827
                                                    <label for="borrower_B_address2" class="[% required.B_address | html %]">Address 2:</label>
905
                                                    <label for="borrower_B_address2" class="[% required.B_address | html %]">Address 2:</label>
828
906
829
                                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 | html %]" class="[% required.B_address2 | html %]" />
907
                                                    <input
908
                                                        type="text"
909
                                                        id="borrower_B_address2"
910
                                                        name="borrower_B_address2"
911
                                                        value="[% borrower.B_address2 | html %]"
912
                                                        class="[% required.B_address2 | html %]"
913
                                                        [% IF required.B_address2 %]required[% END %]
914
                                                    />
830
                                                    <div class="required_label [% required.B_address2 | html %]">Required</div>
915
                                                    <div class="required_label [% required.B_address2 | html %]">Required</div>
831
                                                </li>
916
                                                </li>
832
                                            [% END %]
917
                                            [% END %]
Lines 835-841 Link Here
835
                                                <li>
920
                                                <li>
836
                                                    <label for="borrower_B_city" class="[% required.B_city | html %]">City:</label>
921
                                                    <label for="borrower_B_city" class="[% required.B_city | html %]">City:</label>
837
922
838
                                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city | html %]" class="[% required.B_city | html %]" />
923
                                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city | html %]" class="[% required.B_city | html %]" [% IF required.B_city %]required[% END %] />
839
                                                    <div class="required_label [% required.B_city | html %]">Required</div>
924
                                                    <div class="required_label [% required.B_city | html %]">Required</div>
840
                                                </li>
925
                                                </li>
841
                                            [% END %]
926
                                            [% END %]
Lines 844-850 Link Here
844
                                                <li>
929
                                                <li>
845
                                                    <label for="borrower_B_state" class="[% required.B_state | html %]">State:</label>
930
                                                    <label for="borrower_B_state" class="[% required.B_state | html %]">State:</label>
846
931
847
                                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state | html %]" class="[% required.B_state | html %]" />
932
                                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state | html %]" class="[% required.B_state | html %]" [% IF required.B_state %]required[% END %] />
848
                                                    <div class="required_label [% required.B_state | html %]">Required</div>
933
                                                    <div class="required_label [% required.B_state | html %]">Required</div>
849
                                                </li>
934
                                                </li>
850
                                            [% END %]
935
                                            [% END %]
Lines 853-859 Link Here
853
                                                <li>
938
                                                <li>
854
                                                    <label for="borrower_B_zipcode" class="[% required.B_zipcode | html %]">ZIP/Postal code:</label>
939
                                                    <label for="borrower_B_zipcode" class="[% required.B_zipcode | html %]">ZIP/Postal code:</label>
855
940
856
                                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode | html %]" class="[% required.B_zipcode | html %]" />
941
                                                    <input
942
                                                        type="text"
943
                                                        id="borrower_B_zipcode"
944
                                                        name="borrower_B_zipcode"
945
                                                        value="[% borrower.B_zipcode | html %]"
946
                                                        class="[% required.B_zipcode | html %]"
947
                                                        [% IF required.B_zipcode %]required[% END %]
948
                                                    />
857
                                                    <div class="required_label [% required.B_zipcode | html %]">Required</div>
949
                                                    <div class="required_label [% required.B_zipcode | html %]">Required</div>
858
                                                </li>
950
                                                </li>
859
                                            [% END %]
951
                                            [% END %]
Lines 862-868 Link Here
862
                                                <li>
954
                                                <li>
863
                                                    <label for="borrower_B_country" class="[% required.B_country | html %]">Country:</label>
955
                                                    <label for="borrower_B_country" class="[% required.B_country | html %]">Country:</label>
864
956
865
                                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country | html %]" class="[% required.B_country | html %]" />
957
                                                    <input
958
                                                        type="text"
959
                                                        id="borrower_B_country"
960
                                                        name="borrower_B_country"
961
                                                        value="[% borrower.B_country | html %]"
962
                                                        class="[% required.B_country | html %]"
963
                                                        [% IF required.B_country %]required[% END %]
964
                                                    />
866
                                                    <div class="required_label [% required.B_country | html %]">Required</div>
965
                                                    <div class="required_label [% required.B_country | html %]">Required</div>
867
                                                </li>
966
                                                </li>
868
                                            [% END %]
967
                                            [% END %]
Lines 871-877 Link Here
871
                                                <li>
970
                                                <li>
872
                                                    <label for="borrower_B_phone" class="[% required.B_phone | html %]">Phone:</label>
971
                                                    <label for="borrower_B_phone" class="[% required.B_phone | html %]">Phone:</label>
873
972
874
                                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone | html %]" class="[% required.B_phone | html %]" />
973
                                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone | html %]" class="[% required.B_phone | html %]" [% IF required.B_phone %]required[% END %] />
875
                                                    <div class="required_label [% required.B_phone | html %]">Required</div>
974
                                                    <div class="required_label [% required.B_phone | html %]">Required</div>
876
                                                </li>
975
                                                </li>
877
                                            [% END %]
976
                                            [% END %]
Lines 880-893 Link Here
880
                                                <li>
979
                                                <li>
881
                                                    <label for="borrower_B_email" class="[% required.B_email | html %]">Email:</label>
980
                                                    <label for="borrower_B_email" class="[% required.B_email | html %]">Email:</label>
882
981
883
                                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email | html %]" class="[% required.B_email | html %]" />
982
                                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email | html %]" class="[% required.B_email | html %]" [% IF required.B_email %]required[% END %] />
884
                                                    <div class="required_label [% required.B_email | html %]">Required</div>
983
                                                    <div class="required_label [% required.B_email | html %]">Required</div>
885
                                                </li>
984
                                                </li>
886
                                            [% END %]
985
                                            [% END %]
887
986
888
                                            [% UNLESS hidden.defined('contactnote') %]
987
                                            [% UNLESS hidden.defined('contactnote') %]
889
                                                <li>
988
                                                <li>
890
                                                    <label for="borrower_contactnote" class="[% required.contactnote | html %]">Contact note:</label>
989
                                                    <label for="borrower_contactnote" class="[% required.contactnote | html %]" [% IF required.contactnote %]required[% END %]>Contact note:</label>
891
990
892
                                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2" class="[% required.contactnote | html %]">[% borrower.contactnote | html %]</textarea>
991
                                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2" class="[% required.contactnote | html %]">[% borrower.contactnote | html %]</textarea>
893
                                                    <div class="required_label [% required.contactnote | html %]">Required</div>
992
                                                    <div class="required_label [% required.contactnote | html %]">Required</div>
Lines 913-919 Link Here
913
                                                <li>
1012
                                                <li>
914
                                                    <label for="borrower_altcontactsurname" class="[% required.altcontactsurname | html %]">Surname:</label>
1013
                                                    <label for="borrower_altcontactsurname" class="[% required.altcontactsurname | html %]">Surname:</label>
915
1014
916
                                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname | html %]" class="[% required.altcontactsurname | html %]" />
1015
                                                    <input
1016
                                                        type="text"
1017
                                                        id="borrower_altcontactsurname"
1018
                                                        name="borrower_altcontactsurname"
1019
                                                        value="[% borrower.altcontactsurname | html %]"
1020
                                                        class="[% required.altcontactsurname | html %]"
1021
                                                        [% IF required.altcontactsurname %]required[% END %]
1022
                                                    />
917
                                                    <div class="required_label [% required.altcontactsurname | html %]">Required</div>
1023
                                                    <div class="required_label [% required.altcontactsurname | html %]">Required</div>
918
                                                </li>
1024
                                                </li>
919
                                            [% END %]
1025
                                            [% END %]
Lines 928-933 Link Here
928
                                                        name="borrower_altcontactfirstname"
1034
                                                        name="borrower_altcontactfirstname"
929
                                                        value="[% borrower.altcontactfirstname | html %]"
1035
                                                        value="[% borrower.altcontactfirstname | html %]"
930
                                                        class="[% required.altcontactfirstname | html %]"
1036
                                                        class="[% required.altcontactfirstname | html %]"
1037
                                                        [% IF required.altcontactfirstname %]required[% END %]
931
                                                    />
1038
                                                    />
932
                                                    <div class="required_label [% required.altcontactfirstname | html %]">Required</div>
1039
                                                    <div class="required_label [% required.altcontactfirstname | html %]">Required</div>
933
                                                </li>
1040
                                                </li>
Lines 937-943 Link Here
937
                                                <li>
1044
                                                <li>
938
                                                    <label for="borrower_altcontactaddress1" class="[% required.altcontactaddress1 | html %]">Address:</label>
1045
                                                    <label for="borrower_altcontactaddress1" class="[% required.altcontactaddress1 | html %]">Address:</label>
939
1046
940
                                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 | html %]" class="[% required.altcontactaddress1 | html %]" />
1047
                                                    <input
1048
                                                        type="text"
1049
                                                        id="borrower_altcontactaddress1"
1050
                                                        name="borrower_altcontactaddress1"
1051
                                                        value="[% borrower.altcontactaddress1 | html %]"
1052
                                                        class="[% required.altcontactaddress1 | html %]"
1053
                                                        [% IF required.altcontactaddress1 %]required[% END %]
1054
                                                    />
941
                                                    <div class="required_label [% required.altcontactaddress1 | html %]">Required</div>
1055
                                                    <div class="required_label [% required.altcontactaddress1 | html %]">Required</div>
942
                                                </li>
1056
                                                </li>
943
                                            [% END %]
1057
                                            [% END %]
Lines 946-952 Link Here
946
                                                <li>
1060
                                                <li>
947
                                                    <label for="borrower_altcontactaddress2" class="[% required.altcontactaddress2 | html %]">Address 2:</label>
1061
                                                    <label for="borrower_altcontactaddress2" class="[% required.altcontactaddress2 | html %]">Address 2:</label>
948
1062
949
                                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 | html %]" class="[% required.altcontactaddress2 | html %]" />
1063
                                                    <input
1064
                                                        type="text"
1065
                                                        id="borrower_altcontactaddress2"
1066
                                                        name="borrower_altcontactaddress2"
1067
                                                        value="[% borrower.altcontactaddress2 | html %]"
1068
                                                        class="[% required.altcontactaddress2 | html %]"
1069
                                                        [% IF required.altcontactaddress2 %]required[% END %]
1070
                                                    />
950
                                                    <div class="required_label [% required.altcontactaddress2 | html %]">Required</div>
1071
                                                    <div class="required_label [% required.altcontactaddress2 | html %]">Required</div>
951
                                                </li>
1072
                                                </li>
952
                                            [% END %]
1073
                                            [% END %]
Lines 955-961 Link Here
955
                                                <li>
1076
                                                <li>
956
                                                    <label for="borrower_altcontactaddress3" class="[% required.altcontactaddress3 | html %]">City:</label>
1077
                                                    <label for="borrower_altcontactaddress3" class="[% required.altcontactaddress3 | html %]">City:</label>
957
1078
958
                                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 | html %]" class="[% required.altcontactaddress3 | html %]" />
1079
                                                    <input
1080
                                                        type="text"
1081
                                                        id="borrower_altcontactaddress3"
1082
                                                        name="borrower_altcontactaddress3"
1083
                                                        value="[% borrower.altcontactaddress3 | html %]"
1084
                                                        class="[% required.altcontactaddress3 | html %]"
1085
                                                        [% IF required.altcontactaddress3 %]required[% END %]
1086
                                                    />
959
                                                    <div class="required_label [% required.altcontactaddress3 | html %]">Required</div>
1087
                                                    <div class="required_label [% required.altcontactaddress3 | html %]">Required</div>
960
                                                </li>
1088
                                                </li>
961
                                            [% END %]
1089
                                            [% END %]
Lines 964-970 Link Here
964
                                                <li>
1092
                                                <li>
965
                                                    <label for="borrower_altcontactstate" class="[% required.altcontactstate | html %]">State:</label>
1093
                                                    <label for="borrower_altcontactstate" class="[% required.altcontactstate | html %]">State:</label>
966
1094
967
                                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate | html %]" class="[% required.altcontactstate | html %]" />
1095
                                                    <input
1096
                                                        type="text"
1097
                                                        id="borrower_altcontactstate"
1098
                                                        name="borrower_altcontactstate"
1099
                                                        value="[% borrower.altcontactstate | html %]"
1100
                                                        class="[% required.altcontactstate | html %]"
1101
                                                        [% IF required.altcontactstate %]required[% END %]
1102
                                                    />
968
                                                    <div class="required_label [% required.altcontactstate | html %]">Required</div>
1103
                                                    <div class="required_label [% required.altcontactstate | html %]">Required</div>
969
                                                </li>
1104
                                                </li>
970
                                            [% END %]
1105
                                            [% END %]
Lines 973-979 Link Here
973
                                                <li>
1108
                                                <li>
974
                                                    <label for="borrower_altcontactzipcode" class="[% required.altcontactzipcode | html %]">ZIP/Postal code:</label>
1109
                                                    <label for="borrower_altcontactzipcode" class="[% required.altcontactzipcode | html %]">ZIP/Postal code:</label>
975
1110
976
                                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode | html %]" class="[% required.altcontactzipcode | html %]" />
1111
                                                    <input
1112
                                                        type="text"
1113
                                                        id="borrower_altcontactzipcode"
1114
                                                        name="borrower_altcontactzipcode"
1115
                                                        value="[% borrower.altcontactzipcode | html %]"
1116
                                                        class="[% required.altcontactzipcode | html %]"
1117
                                                        [% IF required.altcontactzipcode %]required[% END %]
1118
                                                    />
977
                                                    <div class="required_label [% required.altcontactzipcode | html %]">Required</div>
1119
                                                    <div class="required_label [% required.altcontactzipcode | html %]">Required</div>
978
                                                </li>
1120
                                                </li>
979
                                            [% END %]
1121
                                            [% END %]
Lines 982-988 Link Here
982
                                                <li>
1124
                                                <li>
983
                                                    <label for="borrower_altcontactcountry" class="[% required.altcontactcountry | html %]">Country:</label>
1125
                                                    <label for="borrower_altcontactcountry" class="[% required.altcontactcountry | html %]">Country:</label>
984
1126
985
                                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry | html %]" class="[% required.altcontactcountry | html %]" />
1127
                                                    <input
1128
                                                        type="text"
1129
                                                        id="borrower_altcontactcountry"
1130
                                                        name="borrower_altcontactcountry"
1131
                                                        value="[% borrower.altcontactcountry | html %]"
1132
                                                        class="[% required.altcontactcountry | html %]"
1133
                                                        [% IF required.altcontactcountry %]required[% END %]
1134
                                                    />
986
                                                    <div class="required_label [% required.altcontactcountry | html %]">Required</div>
1135
                                                    <div class="required_label [% required.altcontactcountry | html %]">Required</div>
987
                                                </li>
1136
                                                </li>
988
                                            [% END %]
1137
                                            [% END %]
Lines 991-997 Link Here
991
                                                <li>
1140
                                                <li>
992
                                                    <label for="borrower_altcontactphone" class="[% required.altcontactphone | html %]">Phone:</label>
1141
                                                    <label for="borrower_altcontactphone" class="[% required.altcontactphone | html %]">Phone:</label>
993
1142
994
                                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone | html %]" class="[% required.altcontactphone | html %]" />
1143
                                                    <input
1144
                                                        type="text"
1145
                                                        id="borrower_altcontactphone"
1146
                                                        name="borrower_altcontactphone"
1147
                                                        value="[% borrower.altcontactphone | html %]"
1148
                                                        class="[% required.altcontactphone | html %]"
1149
                                                        [% IF required.altcontactphone %]required[% END %]
1150
                                                    />
995
                                                    <div class="required_label [% required.altcontactphone | html %]">Required</div>
1151
                                                    <div class="required_label [% required.altcontactphone | html %]">Required</div>
996
                                                </li>
1152
                                                </li>
997
                                            [% END %]
1153
                                            [% END %]
998
- 

Return to bug 39547