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 405-411 Link Here
405
                                                <li>
405
                                                <li>
406
                                                    <label for="borrower_surname" class="[% required.surname | html %]">Surname:</label>
406
                                                    <label for="borrower_surname" class="[% required.surname | html %]">Surname:</label>
407
407
408
                                                    <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname | html %]" class="[% required.surname | html %]" />
408
                                                    <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname | html %]" class="[% required.surname | html %]" [% IF required.surname %]required[% END %] />
409
                                                    <div class="required_label [% required.surname | html %]">Required</div>
409
                                                    <div class="required_label [% required.surname | html %]">Required</div>
410
                                                </li>
410
                                                </li>
411
                                            [% END %]
411
                                            [% END %]
Lines 414-420 Link Here
414
                                                <li>
414
                                                <li>
415
                                                    <label for="borrower_firstname" class="[% required.firstname | html %]">First name:</label>
415
                                                    <label for="borrower_firstname" class="[% required.firstname | html %]">First name:</label>
416
416
417
                                                    <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname | html %]" class="[% required.firstname | html %]" />
417
                                                    <input
418
                                                        type="text"
419
                                                        id="borrower_firstname"
420
                                                        name="borrower_firstname"
421
                                                        value="[% borrower.firstname | html %]"
422
                                                        class="[% required.firstname | html %]"
423
                                                        [% IF required.firstname %]required[% END %]
424
                                                    />
418
                                                    <div class="required_label [% required.firstname | html %]">Required</div>
425
                                                    <div class="required_label [% required.firstname | html %]">Required</div>
419
                                                </li>
426
                                                </li>
420
                                            [% END %]
427
                                            [% END %]
Lines 423-429 Link Here
423
                                                <li>
430
                                                <li>
424
                                                    <label for="borrower_middle_name" class="[% required.middle_name | html %]">Middle name:</label>
431
                                                    <label for="borrower_middle_name" class="[% required.middle_name | html %]">Middle name:</label>
425
432
426
                                                    <input type="text" id="borrower_middle_name" name="borrower_middle_name" value="[% borrower.middle_name | html %]" class="[% required.middle_name | html %]" />
433
                                                    <input
434
                                                        type="text"
435
                                                        id="borrower_middle_name"
436
                                                        name="borrower_middle_name"
437
                                                        value="[% borrower.middle_name | html %]"
438
                                                        class="[% required.middle_name | html %]"
439
                                                        [% IF required.middle_name %]required[% END %]
440
                                                    />
427
                                                    <div class="required_label [% required.middle_name | html %]">Required</div>
441
                                                    <div class="required_label [% required.middle_name | html %]">Required</div>
428
                                                </li>
442
                                                </li>
429
                                            [% END %]
443
                                            [% END %]
Lines 432-438 Link Here
432
                                                <li>
446
                                                <li>
433
                                                    <label for="borrower_preferred_name" class="[% required.preferred_name | html %]">Preferred name:</label>
447
                                                    <label for="borrower_preferred_name" class="[% required.preferred_name | html %]">Preferred name:</label>
434
448
435
                                                    <input type="text" id="borrower_preferred_name" name="borrower_preferred_name" value="[% borrower.preferred_name | html %]" class="[% required.preferred_name | html %]" />
449
                                                    <input
450
                                                        type="text"
451
                                                        id="borrower_preferred_name"
452
                                                        name="borrower_preferred_name"
453
                                                        value="[% borrower.preferred_name | html %]"
454
                                                        class="[% required.preferred_name | html %]"
455
                                                        [% IF required.preferred_name %]required[% END %]
456
                                                    />
436
                                                    <div class="required_label [% required.preferred_name | html %]">Required</div>
457
                                                    <div class="required_label [% required.preferred_name | html %]">Required</div>
437
                                                </li>
458
                                                </li>
438
                                            [% END %]
459
                                            [% END %]
Lines 441-447 Link Here
441
                                                <li>
462
                                                <li>
442
                                                    <label for="borrower_dateofbirth" class="[% required.dateofbirth | html %]">Date of birth:</label>
463
                                                    <label for="borrower_dateofbirth" class="[% required.dateofbirth | html %]">Date of birth:</label>
443
464
444
                                                    <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | html %]" size="10" class="[% required.dateofbirth | html %] flatpickr pastdate" />
465
                                                    <input
466
                                                        type="text"
467
                                                        id="borrower_dateofbirth"
468
                                                        name="borrower_dateofbirth"
469
                                                        value="[% borrower.dateofbirth | html %]"
470
                                                        size="10"
471
                                                        class="[% required.dateofbirth | html %] flatpickr pastdate"
472
                                                        [% IF required.dateofbirth %]required[% END %]
473
                                                    />
445
474
446
                                                    <div class="required_label [% required.dateofbirth | html %]">Required</div>
475
                                                    <div class="required_label [% required.dateofbirth | html %]">Required</div>
447
                                                </li>
476
                                                </li>
Lines 451-457 Link Here
451
                                                <li>
480
                                                <li>
452
                                                    <label for="borrower_initials" class="[% required.initials | html %]">Initials:</label>
481
                                                    <label for="borrower_initials" class="[% required.initials | html %]">Initials:</label>
453
482
454
                                                    <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials | html %]" class="[% required.initials | html %]" />
483
                                                    <input
484
                                                        type="text"
485
                                                        id="borrower_initials"
486
                                                        name="borrower_initials"
487
                                                        value="[% borrower.initials | html %]"
488
                                                        class="[% required.initials | html %]"
489
                                                        [% IF required.initials %]required[% END %]
490
                                                    />
455
                                                    <div class="required_label [% required.initials | html %]">Required</div>
491
                                                    <div class="required_label [% required.initials | html %]">Required</div>
456
                                                </li>
492
                                                </li>
457
                                            [% END %]
493
                                            [% END %]
Lines 460-466 Link Here
460
                                                <li>
496
                                                <li>
461
                                                    <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
497
                                                    <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
462
498
463
                                                    <input type="text" id="borrower_pronouns" name="borrower_pronouns" value="[% borrower.pronouns | html %]" class="[% required.prnouns | html %]" />
499
                                                    <input
500
                                                        type="text"
501
                                                        id="borrower_pronouns"
502
                                                        name="borrower_pronouns"
503
                                                        value="[% borrower.pronouns | html %]"
504
                                                        class="[% required.pronouns | html %]"
505
                                                        [% IF required.pronouns %]required[% END %]
506
                                                    />
464
                                                    <div class="required_label [% required.pronouns | html %]">Required</div>
507
                                                    <div class="required_label [% required.pronouns | html %]">Required</div>
465
                                                </li>
508
                                                </li>
466
                                            [% END %]
509
                                            [% END %]
Lines 469-475 Link Here
469
                                                <li>
512
                                                <li>
470
                                                    <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
513
                                                    <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
471
514
472
                                                    <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames | html %]" class="[% required.othernames | html %]" />
515
                                                    <input
516
                                                        type="text"
517
                                                        id="borrower_othernames"
518
                                                        name="borrower_othernames"
519
                                                        value="[% borrower.othernames | html %]"
520
                                                        class="[% required.othernames | html %]"
521
                                                        [% IF required.othernames %]required[% END %]
522
                                                    />
473
                                                    <div class="required_label [% required.othernames | html %]">Required</div>
523
                                                    <div class="required_label [% required.othernames | html %]">Required</div>
474
                                                </li>
524
                                                </li>
475
                                            [% END %]
525
                                            [% END %]
Lines 538-544 Link Here
538
                                                    <li>
588
                                                    <li>
539
                                                        <label for="borrower_streettype" class="[% required.streettype | html %]">Street type:</label>
589
                                                        <label for="borrower_streettype" class="[% required.streettype | html %]">Street type:</label>
540
590
541
                                                        <select name="borrower_streettype" name="borrower_streettype" class="[% required.streettype | html %]">
591
                                                        <select name="borrower_streettype" name="borrower_streettype" class="[% required.streettype | html %]" [% IF required.streettype %]required[% END %]>
542
                                                            <option value=""></option>
592
                                                            <option value=""></option>
543
                                                            [% FOR roadtype IN roadtypes %]
593
                                                            [% FOR roadtype IN roadtypes %]
544
                                                                [% IF roadtype.authorised_value == patron.streettype %]
594
                                                                [% IF roadtype.authorised_value == patron.streettype %]
Lines 557-563 Link Here
557
                                                <li>
607
                                                <li>
558
                                                    <label for="borrower_address" class="[% required.address | html %]">Address:</label>
608
                                                    <label for="borrower_address" class="[% required.address | html %]">Address:</label>
559
609
560
                                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address | html %]" class="[% required.address | html %]" />
610
                                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address | html %]" class="[% required.address | html %]" [% IF required.address %]required[% END %] />
561
                                                    <div class="required_label [% required.address | html %]">Required</div>
611
                                                    <div class="required_label [% required.address | html %]">Required</div>
562
                                                </li>
612
                                                </li>
563
                                            [% END %]
613
                                            [% END %]
Lines 568-574 Link Here
568
                                                <li>
618
                                                <li>
569
                                                    <label for="borrower_address2" class="[% required.address2 | html %]">Address 2:</label>
619
                                                    <label for="borrower_address2" class="[% required.address2 | html %]">Address 2:</label>
570
620
571
                                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 | html %]" class="[% required.address2 | html %]" />
621
                                                    <input
622
                                                        type="text"
623
                                                        id="borrower_address2"
624
                                                        name="borrower_address2"
625
                                                        value="[% borrower.address2 | html %]"
626
                                                        class="[% required.address2 | html %]"
627
                                                        [% IF required.address2 %]required[% END %]
628
                                                    />
572
                                                    <div class="required_label [% required.address2 | html %]">Required</div>
629
                                                    <div class="required_label [% required.address2 | html %]">Required</div>
573
                                                </li>
630
                                                </li>
574
                                            [% END %]
631
                                            [% END %]
Lines 577-583 Link Here
577
                                                <li>
634
                                                <li>
578
                                                    <label for="borrower_city" class="[% required.city | html %]">City:</label>
635
                                                    <label for="borrower_city" class="[% required.city | html %]">City:</label>
579
636
580
                                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city | html %]" class="[% required.city | html %]" />
637
                                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city | html %]" class="[% required.city | html %]" [% IF required.city %]required[% END %] />
581
                                                    <div class="required_label [% required.city | html %]">Required</div>
638
                                                    <div class="required_label [% required.city | html %]">Required</div>
582
                                                </li>
639
                                                </li>
583
                                            [% END %]
640
                                            [% END %]
Lines 586-592 Link Here
586
                                                <li>
643
                                                <li>
587
                                                    <label for="borrower_state" class="[% required.state | html %]">State:</label>
644
                                                    <label for="borrower_state" class="[% required.state | html %]">State:</label>
588
645
589
                                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state | html %]" class="[% required.state | html %]" />
646
                                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state | html %]" class="[% required.state | html %]" [% IF required.state %]required[% END %] />
590
                                                    <div class="required_label [% required.state | html %]">Required</div>
647
                                                    <div class="required_label [% required.state | html %]">Required</div>
591
                                                </li>
648
                                                </li>
592
                                            [% END %]
649
                                            [% END %]
Lines 595-601 Link Here
595
                                                <li>
652
                                                <li>
596
                                                    <label for="borrower_zipcode" class="[% required.zipcode | html %]">ZIP/Postal code:</label>
653
                                                    <label for="borrower_zipcode" class="[% required.zipcode | html %]">ZIP/Postal code:</label>
597
654
598
                                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode | html %]" class="[% required.zipcode | html %]" />
655
                                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode | html %]" class="[% required.zipcode | html %]" [% IF required.zipcode %]required[% END %] />
599
                                                    <div class="required_label [% required.zipcode | html %]">Required</div>
656
                                                    <div class="required_label [% required.zipcode | html %]">Required</div>
600
                                                </li>
657
                                                </li>
601
                                            [% END %]
658
                                            [% END %]
Lines 604-610 Link Here
604
                                                <li>
661
                                                <li>
605
                                                    <label for="borrower_country" class="[% required.country | html %]">Country:</label>
662
                                                    <label for="borrower_country" class="[% required.country | html %]">Country:</label>
606
663
607
                                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country | html %]" class="[% required.country | html %]" />
664
                                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country | html %]" class="[% required.country | html %]" [% IF required.country %]required[% END %] />
608
                                                    <div class="required_label [% required.country | html %]">Required</div>
665
                                                    <div class="required_label [% required.country | html %]">Required</div>
609
                                                </li>
666
                                                </li>
610
                                            [% END %]
667
                                            [% END %]
Lines 629-635 Link Here
629
                                                <li>
686
                                                <li>
630
                                                    <label for="borrower_phone" class="[% required.phone | html %]">Primary phone:</label>
687
                                                    <label for="borrower_phone" class="[% required.phone | html %]">Primary phone:</label>
631
688
632
                                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone | html %]" class="[% required.phone | html %]" />
689
                                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone | html %]" class="[% required.phone | html %]" [% IF required.phone %]required[% END %] />
633
                                                    <div class="required_label [% required.phone | html %]">Required</div>
690
                                                    <div class="required_label [% required.phone | html %]">Required</div>
634
                                                </li>
691
                                                </li>
635
                                            [% END %]
692
                                            [% END %]
Lines 638-644 Link Here
638
                                                <li>
695
                                                <li>
639
                                                    <label for="borrower_phonepro" class="[% required.phonepro | html %]">Secondary phone:</label>
696
                                                    <label for="borrower_phonepro" class="[% required.phonepro | html %]">Secondary phone:</label>
640
697
641
                                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro | html %]" class="[% required.phonepro | html %]" />
698
                                                    <input
699
                                                        type="text"
700
                                                        id="borrower_phonepro"
701
                                                        name="borrower_phonepro"
702
                                                        value="[% borrower.phonepro | html %]"
703
                                                        class="[% required.phonepro | html %]"
704
                                                        [% IF required.phonepro %]required[% END %]
705
                                                    />
642
                                                    <div class="required_label [% required.phonepro | html %]">Required</div>
706
                                                    <div class="required_label [% required.phonepro | html %]">Required</div>
643
                                                </li>
707
                                                </li>
644
                                            [% END %]
708
                                            [% END %]
Lines 647-653 Link Here
647
                                                <li>
711
                                                <li>
648
                                                    <label for="borrower_mobile" class="[% required.mobile | html %]">Other phone:</label>
712
                                                    <label for="borrower_mobile" class="[% required.mobile | html %]">Other phone:</label>
649
713
650
                                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile | html %]" class="[% required.mobile | html %]" />
714
                                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile | html %]" class="[% required.mobile | html %]" [% IF required.mobile %]required[% END %] />
651
                                                    <div class="required_label [% required.mobile | html %]">Required</div>
715
                                                    <div class="required_label [% required.mobile | html %]">Required</div>
652
                                                </li>
716
                                                </li>
653
                                            [% END %]
717
                                            [% END %]
Lines 656-662 Link Here
656
                                                <li>
720
                                                <li>
657
                                                    <label for="borrower_email" class="[% required.email | html %]">Primary email:</label>
721
                                                    <label for="borrower_email" class="[% required.email | html %]">Primary email:</label>
658
722
659
                                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email | html %]" class="[% required.email | html %]" />
723
                                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email | html %]" 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
726
Lines 664-670 Link Here
664
                                                    <li>
728
                                                    <li>
665
                                                        <label for="borrower_repeat_email" class="[% required.email | html %]">Confirm primary email:</label>
729
                                                        <label for="borrower_repeat_email" class="[% required.email | html %]">Confirm primary email:</label>
666
730
667
                                                        <input type="text" id="borrower_repeat_email" name="borrower_repeat_email" autocomplete="off" class="[% required.email | html %]" />
731
                                                        <input type="text" id="borrower_repeat_email" name="borrower_repeat_email" autocomplete="off" class="[% required.email | html %]" [% IF required.email %]required[% END %] />
668
                                                        <div class="required_label [% required.email | html %]">Required</div>
732
                                                        <div class="required_label [% required.email | html %]">Required</div>
669
                                                    </li>
733
                                                    </li>
670
                                                [% END %]
734
                                                [% END %]
Lines 674-680 Link Here
674
                                                <li>
738
                                                <li>
675
                                                    <label for="borrower_emailpro" class="[% required.emailpro | html %]">Secondary email:</label>
739
                                                    <label for="borrower_emailpro" class="[% required.emailpro | html %]">Secondary email:</label>
676
740
677
                                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro | html %]" class="[% required.emailpro | html %]" />
741
                                                    <input
742
                                                        type="text"
743
                                                        id="borrower_emailpro"
744
                                                        name="borrower_emailpro"
745
                                                        value="[% borrower.emailpro | html %]"
746
                                                        class="[% required.emailpro | html %]"
747
                                                        [% IF required.emailpro %]required[% END %]
748
                                                    />
678
                                                    <div class="required_label [% required.emailpro | html %]">Required</div>
749
                                                    <div class="required_label [% required.emailpro | html %]">Required</div>
679
                                                </li>
750
                                                </li>
680
                                            [% END %]
751
                                            [% END %]
Lines 683-689 Link Here
683
                                                <li>
754
                                                <li>
684
                                                    <label for="borrower_fax" class="[% required.fax | html %]">Fax:</label>
755
                                                    <label for="borrower_fax" class="[% required.fax | html %]">Fax:</label>
685
756
686
                                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax | html %]" class="[% required.fax | html %]" />
757
                                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax | html %]" class="[% required.fax | html %]" [% IF required.fax %]required[% END %] />
687
                                                    <div class="required_label [% required.fax | html %]">Required</div>
758
                                                    <div class="required_label [% required.fax | html %]">Required</div>
688
                                                </li>
759
                                                </li>
689
                                            [% END %]
760
                                            [% END %]
Lines 696-702 Link Here
696
                                                        <label for="borrower_primary_contact_method">Main contact method:</label>
767
                                                        <label for="borrower_primary_contact_method">Main contact method:</label>
697
                                                    [% END %]
768
                                                    [% END %]
698
769
699
                                                    <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
770
                                                    <select id="borrower_primary_contact_method" name="borrower_primary_contact_method" [% IF ( mandatory.defined('primary_contact_method') ) %]required[% END %]>
700
                                                        <option value=""></option>
771
                                                        <option value=""></option>
701
                                                        [% UNLESS hidden.defined('phone') %]
772
                                                        [% UNLESS hidden.defined('phone') %]
702
                                                            [% IF ( borrower.primary_contact_method == 'phone' ) %]
773
                                                            [% IF ( borrower.primary_contact_method == 'phone' ) %]
Lines 750-756 Link Here
750
                                                        [% ELSE %]
821
                                                        [% ELSE %]
751
                                                            <label for="borrower_lang">Preferred language for notices: </label>
822
                                                            <label for="borrower_lang">Preferred language for notices: </label>
752
                                                        [% END %]
823
                                                        [% END %]
753
                                                        <select id="borrower_lang" name="borrower_lang">
824
                                                        <select id="borrower_lang" name="borrower_lang" [% IF ( mandatory.defined('lang') ) %]required[% END %]>
754
                                                            <option value="default">Default</option>
825
                                                            <option value="default">Default</option>
755
                                                            [% FOR language IN languages %]
826
                                                            [% FOR language IN languages %]
756
                                                                [% FOR sublanguage IN language.sublanguages_loop %]
827
                                                                [% FOR sublanguage IN language.sublanguages_loop %]
Lines 806-812 Link Here
806
                                                    <li>
877
                                                    <li>
807
                                                        <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
878
                                                        <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
808
879
809
                                                        <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]">
880
                                                        <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]" [% IF required.B_streettype %]required[% END %]>
810
                                                            <option value=""></option>
881
                                                            <option value=""></option>
811
                                                            [% FOR roadtype IN roadtypes %]
882
                                                            [% FOR roadtype IN roadtypes %]
812
                                                                [% IF roadtype.authorised_value == patron.streettype %]
883
                                                                [% IF roadtype.authorised_value == patron.streettype %]
Lines 824-830 Link Here
824
                                                <li>
895
                                                <li>
825
                                                    <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
896
                                                    <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
826
897
827
                                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address | html %]" class="[% required.B_address | html %]" />
898
                                                    <input
899
                                                        type="text"
900
                                                        id="borrower_B_address"
901
                                                        name="borrower_B_address"
902
                                                        value="[% borrower.B_address | html %]"
903
                                                        class="[% required.B_address | html %]"
904
                                                        [% IF required.B_address %]required[% END %]
905
                                                    />
828
                                                    <div class="required_label [% required.B_address | html %]">Required</div>
906
                                                    <div class="required_label [% required.B_address | html %]">Required</div>
829
                                                </li>
907
                                                </li>
830
                                            [% END %]
908
                                            [% END %]
Lines 835-841 Link Here
835
                                                <li>
913
                                                <li>
836
                                                    <label for="borrower_B_address2" class="[% required.B_address | html %]">Address 2:</label>
914
                                                    <label for="borrower_B_address2" class="[% required.B_address | html %]">Address 2:</label>
837
915
838
                                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 | html %]" class="[% required.B_address2 | html %]" />
916
                                                    <input
917
                                                        type="text"
918
                                                        id="borrower_B_address2"
919
                                                        name="borrower_B_address2"
920
                                                        value="[% borrower.B_address2 | html %]"
921
                                                        class="[% required.B_address2 | html %]"
922
                                                        [% IF required.B_address2 %]required[% END %]
923
                                                    />
839
                                                    <div class="required_label [% required.B_address2 | html %]">Required</div>
924
                                                    <div class="required_label [% required.B_address2 | 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_city" class="[% required.B_city | html %]">City:</label>
930
                                                    <label for="borrower_B_city" class="[% required.B_city | html %]">City:</label>
846
931
847
                                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city | html %]" class="[% required.B_city | html %]" />
932
                                                    <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 %] />
848
                                                    <div class="required_label [% required.B_city | html %]">Required</div>
933
                                                    <div class="required_label [% required.B_city | 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_state" class="[% required.B_state | html %]">State:</label>
939
                                                    <label for="borrower_B_state" class="[% required.B_state | html %]">State:</label>
855
940
856
                                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state | html %]" class="[% required.B_state | html %]" />
941
                                                    <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 %] />
857
                                                    <div class="required_label [% required.B_state | html %]">Required</div>
942
                                                    <div class="required_label [% required.B_state | html %]">Required</div>
858
                                                </li>
943
                                                </li>
859
                                            [% END %]
944
                                            [% END %]
Lines 862-868 Link Here
862
                                                <li>
947
                                                <li>
863
                                                    <label for="borrower_B_zipcode" class="[% required.B_zipcode | html %]">ZIP/Postal code:</label>
948
                                                    <label for="borrower_B_zipcode" class="[% required.B_zipcode | html %]">ZIP/Postal code:</label>
864
949
865
                                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode | html %]" class="[% required.B_zipcode | html %]" />
950
                                                    <input
951
                                                        type="text"
952
                                                        id="borrower_B_zipcode"
953
                                                        name="borrower_B_zipcode"
954
                                                        value="[% borrower.B_zipcode | html %]"
955
                                                        class="[% required.B_zipcode | html %]"
956
                                                        [% IF required.B_zipcode %]required[% END %]
957
                                                    />
866
                                                    <div class="required_label [% required.B_zipcode | html %]">Required</div>
958
                                                    <div class="required_label [% required.B_zipcode | html %]">Required</div>
867
                                                </li>
959
                                                </li>
868
                                            [% END %]
960
                                            [% END %]
Lines 871-877 Link Here
871
                                                <li>
963
                                                <li>
872
                                                    <label for="borrower_B_country" class="[% required.B_country | html %]">Country:</label>
964
                                                    <label for="borrower_B_country" class="[% required.B_country | html %]">Country:</label>
873
965
874
                                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country | html %]" class="[% required.B_country | html %]" />
966
                                                    <input
967
                                                        type="text"
968
                                                        id="borrower_B_country"
969
                                                        name="borrower_B_country"
970
                                                        value="[% borrower.B_country | html %]"
971
                                                        class="[% required.B_country | html %]"
972
                                                        [% IF required.B_country %]required[% END %]
973
                                                    />
875
                                                    <div class="required_label [% required.B_country | html %]">Required</div>
974
                                                    <div class="required_label [% required.B_country | html %]">Required</div>
876
                                                </li>
975
                                                </li>
877
                                            [% END %]
976
                                            [% END %]
Lines 880-886 Link Here
880
                                                <li>
979
                                                <li>
881
                                                    <label for="borrower_B_phone" class="[% required.B_phone | html %]">Phone:</label>
980
                                                    <label for="borrower_B_phone" class="[% required.B_phone | html %]">Phone:</label>
882
981
883
                                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone | html %]" class="[% required.B_phone | html %]" />
982
                                                    <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 %] />
884
                                                    <div class="required_label [% required.B_phone | html %]">Required</div>
983
                                                    <div class="required_label [% required.B_phone | html %]">Required</div>
885
                                                </li>
984
                                                </li>
886
                                            [% END %]
985
                                            [% END %]
Lines 889-902 Link Here
889
                                                <li>
988
                                                <li>
890
                                                    <label for="borrower_B_email" class="[% required.B_email | html %]">Email:</label>
989
                                                    <label for="borrower_B_email" class="[% required.B_email | html %]">Email:</label>
891
990
892
                                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email | html %]" class="[% required.B_email | html %]" />
991
                                                    <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 %] />
893
                                                    <div class="required_label [% required.B_email | html %]">Required</div>
992
                                                    <div class="required_label [% required.B_email | html %]">Required</div>
894
                                                </li>
993
                                                </li>
895
                                            [% END %]
994
                                            [% END %]
896
995
897
                                            [% UNLESS hidden.defined('contactnote') %]
996
                                            [% UNLESS hidden.defined('contactnote') %]
898
                                                <li>
997
                                                <li>
899
                                                    <label for="borrower_contactnote" class="[% required.contactnote | html %]">Contact note:</label>
998
                                                    <label for="borrower_contactnote" class="[% required.contactnote | html %]" [% IF required.contactnote %]required[% END %]>Contact note:</label>
900
999
901
                                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2" class="[% required.contactnote | html %]">[% borrower.contactnote | html %]</textarea>
1000
                                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2" class="[% required.contactnote | html %]">[% borrower.contactnote | html %]</textarea>
902
                                                    <div class="required_label [% required.contactnote | html %]">Required</div>
1001
                                                    <div class="required_label [% required.contactnote | html %]">Required</div>
Lines 923-929 Link Here
923
                                                <li>
1022
                                                <li>
924
                                                    <label for="borrower_altcontactsurname" class="[% required.altcontactsurname | html %]">Surname:</label>
1023
                                                    <label for="borrower_altcontactsurname" class="[% required.altcontactsurname | html %]">Surname:</label>
925
1024
926
                                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname | html %]" class="[% required.altcontactsurname | html %]" />
1025
                                                    <input
1026
                                                        type="text"
1027
                                                        id="borrower_altcontactsurname"
1028
                                                        name="borrower_altcontactsurname"
1029
                                                        value="[% borrower.altcontactsurname | html %]"
1030
                                                        class="[% required.altcontactsurname | html %]"
1031
                                                        [% IF required.altcontactsurname %]required[% END %]
1032
                                                    />
927
                                                    <div class="required_label [% required.altcontactsurname | html %]">Required</div>
1033
                                                    <div class="required_label [% required.altcontactsurname | html %]">Required</div>
928
                                                </li>
1034
                                                </li>
929
                                            [% END %]
1035
                                            [% END %]
Lines 938-943 Link Here
938
                                                        name="borrower_altcontactfirstname"
1044
                                                        name="borrower_altcontactfirstname"
939
                                                        value="[% borrower.altcontactfirstname | html %]"
1045
                                                        value="[% borrower.altcontactfirstname | html %]"
940
                                                        class="[% required.altcontactfirstname | html %]"
1046
                                                        class="[% required.altcontactfirstname | html %]"
1047
                                                        [% IF required.altcontactfirstname %]required[% END %]
941
                                                    />
1048
                                                    />
942
                                                    <div class="required_label [% required.altcontactfirstname | html %]">Required</div>
1049
                                                    <div class="required_label [% required.altcontactfirstname | html %]">Required</div>
943
                                                </li>
1050
                                                </li>
Lines 947-953 Link Here
947
                                                <li>
1054
                                                <li>
948
                                                    <label for="borrower_altcontactaddress1" class="[% required.altcontactaddress1 | html %]">Address:</label>
1055
                                                    <label for="borrower_altcontactaddress1" class="[% required.altcontactaddress1 | html %]">Address:</label>
949
1056
950
                                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 | html %]" class="[% required.altcontactaddress1 | html %]" />
1057
                                                    <input
1058
                                                        type="text"
1059
                                                        id="borrower_altcontactaddress1"
1060
                                                        name="borrower_altcontactaddress1"
1061
                                                        value="[% borrower.altcontactaddress1 | html %]"
1062
                                                        class="[% required.altcontactaddress1 | html %]"
1063
                                                        [% IF required.altcontactaddress1 %]required[% END %]
1064
                                                    />
951
                                                    <div class="required_label [% required.altcontactaddress1 | html %]">Required</div>
1065
                                                    <div class="required_label [% required.altcontactaddress1 | html %]">Required</div>
952
                                                </li>
1066
                                                </li>
953
                                            [% END %]
1067
                                            [% END %]
Lines 956-962 Link Here
956
                                                <li>
1070
                                                <li>
957
                                                    <label for="borrower_altcontactaddress2" class="[% required.altcontactaddress2 | html %]">Address 2:</label>
1071
                                                    <label for="borrower_altcontactaddress2" class="[% required.altcontactaddress2 | html %]">Address 2:</label>
958
1072
959
                                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 | html %]" class="[% required.altcontactaddress2 | html %]" />
1073
                                                    <input
1074
                                                        type="text"
1075
                                                        id="borrower_altcontactaddress2"
1076
                                                        name="borrower_altcontactaddress2"
1077
                                                        value="[% borrower.altcontactaddress2 | html %]"
1078
                                                        class="[% required.altcontactaddress2 | html %]"
1079
                                                        [% IF required.altcontactaddress2 %]required[% END %]
1080
                                                    />
960
                                                    <div class="required_label [% required.altcontactaddress2 | html %]">Required</div>
1081
                                                    <div class="required_label [% required.altcontactaddress2 | html %]">Required</div>
961
                                                </li>
1082
                                                </li>
962
                                            [% END %]
1083
                                            [% END %]
Lines 965-971 Link Here
965
                                                <li>
1086
                                                <li>
966
                                                    <label for="borrower_altcontactaddress3" class="[% required.altcontactaddress3 | html %]">City:</label>
1087
                                                    <label for="borrower_altcontactaddress3" class="[% required.altcontactaddress3 | html %]">City:</label>
967
1088
968
                                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 | html %]" class="[% required.altcontactaddress3 | html %]" />
1089
                                                    <input
1090
                                                        type="text"
1091
                                                        id="borrower_altcontactaddress3"
1092
                                                        name="borrower_altcontactaddress3"
1093
                                                        value="[% borrower.altcontactaddress3 | html %]"
1094
                                                        class="[% required.altcontactaddress3 | html %]"
1095
                                                        [% IF required.altcontactaddress3 %]required[% END %]
1096
                                                    />
969
                                                    <div class="required_label [% required.altcontactaddress3 | html %]">Required</div>
1097
                                                    <div class="required_label [% required.altcontactaddress3 | html %]">Required</div>
970
                                                </li>
1098
                                                </li>
971
                                            [% END %]
1099
                                            [% END %]
Lines 974-980 Link Here
974
                                                <li>
1102
                                                <li>
975
                                                    <label for="borrower_altcontactstate" class="[% required.altcontactstate | html %]">State:</label>
1103
                                                    <label for="borrower_altcontactstate" class="[% required.altcontactstate | html %]">State:</label>
976
1104
977
                                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate | html %]" class="[% required.altcontactstate | html %]" />
1105
                                                    <input
1106
                                                        type="text"
1107
                                                        id="borrower_altcontactstate"
1108
                                                        name="borrower_altcontactstate"
1109
                                                        value="[% borrower.altcontactstate | html %]"
1110
                                                        class="[% required.altcontactstate | html %]"
1111
                                                        [% IF required.altcontactstate %]required[% END %]
1112
                                                    />
978
                                                    <div class="required_label [% required.altcontactstate | html %]">Required</div>
1113
                                                    <div class="required_label [% required.altcontactstate | html %]">Required</div>
979
                                                </li>
1114
                                                </li>
980
                                            [% END %]
1115
                                            [% END %]
Lines 983-989 Link Here
983
                                                <li>
1118
                                                <li>
984
                                                    <label for="borrower_altcontactzipcode" class="[% required.altcontactzipcode | html %]">ZIP/Postal code:</label>
1119
                                                    <label for="borrower_altcontactzipcode" class="[% required.altcontactzipcode | html %]">ZIP/Postal code:</label>
985
1120
986
                                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode | html %]" class="[% required.altcontactzipcode | html %]" />
1121
                                                    <input
1122
                                                        type="text"
1123
                                                        id="borrower_altcontactzipcode"
1124
                                                        name="borrower_altcontactzipcode"
1125
                                                        value="[% borrower.altcontactzipcode | html %]"
1126
                                                        class="[% required.altcontactzipcode | html %]"
1127
                                                        [% IF required.altcontactzipcode %]required[% END %]
1128
                                                    />
987
                                                    <div class="required_label [% required.altcontactzipcode | html %]">Required</div>
1129
                                                    <div class="required_label [% required.altcontactzipcode | html %]">Required</div>
988
                                                </li>
1130
                                                </li>
989
                                            [% END %]
1131
                                            [% END %]
Lines 992-998 Link Here
992
                                                <li>
1134
                                                <li>
993
                                                    <label for="borrower_altcontactcountry" class="[% required.altcontactcountry | html %]">Country:</label>
1135
                                                    <label for="borrower_altcontactcountry" class="[% required.altcontactcountry | html %]">Country:</label>
994
1136
995
                                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry | html %]" class="[% required.altcontactcountry | html %]" />
1137
                                                    <input
1138
                                                        type="text"
1139
                                                        id="borrower_altcontactcountry"
1140
                                                        name="borrower_altcontactcountry"
1141
                                                        value="[% borrower.altcontactcountry | html %]"
1142
                                                        class="[% required.altcontactcountry | html %]"
1143
                                                        [% IF required.altcontactcountry %]required[% END %]
1144
                                                    />
996
                                                    <div class="required_label [% required.altcontactcountry | html %]">Required</div>
1145
                                                    <div class="required_label [% required.altcontactcountry | html %]">Required</div>
997
                                                </li>
1146
                                                </li>
998
                                            [% END %]
1147
                                            [% END %]
Lines 1001-1007 Link Here
1001
                                                <li>
1150
                                                <li>
1002
                                                    <label for="borrower_altcontactphone" class="[% required.altcontactphone | html %]">Phone:</label>
1151
                                                    <label for="borrower_altcontactphone" class="[% required.altcontactphone | html %]">Phone:</label>
1003
1152
1004
                                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone | html %]" class="[% required.altcontactphone | html %]" />
1153
                                                    <input
1154
                                                        type="text"
1155
                                                        id="borrower_altcontactphone"
1156
                                                        name="borrower_altcontactphone"
1157
                                                        value="[% borrower.altcontactphone | html %]"
1158
                                                        class="[% required.altcontactphone | html %]"
1159
                                                        [% IF required.altcontactphone %]required[% END %]
1160
                                                    />
1005
                                                    <div class="required_label [% required.altcontactphone | html %]">Required</div>
1161
                                                    <div class="required_label [% required.altcontactphone | html %]">Required</div>
1006
                                                </li>
1162
                                                </li>
1007
                                            [% END %]
1163
                                            [% END %]
1008
- 

Return to bug 39547