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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-2 / +20 lines)
Lines 190-196 Link Here
190
190
191
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
191
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
192
192
193
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' ] %]
193
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' ] %]
194
                    [% IF mandatory.defined( field ) %]
194
                    [% IF mandatory.defined( field ) %]
195
                        [% SET required.$field = 'required' %]
195
                        [% SET required.$field = 'required' %]
196
                    [% END %]
196
                    [% END %]
Lines 592-597 Link Here
592
                                    <legend id="alternateaddress_legend">Alternate address</legend>
592
                                    <legend id="alternateaddress_legend">Alternate address</legend>
593
593
594
                                    <ol>
594
                                    <ol>
595
                                        [% IF roadtypes %]
596
                                            [% UNLESS hidden.defined('B_streettype') %]
597
                                                <li>
598
                                                    <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
599
600
                                                    <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]">
601
                                                        <option value=""></option>
602
                                                        [% FOR roadtype IN roadtypes %]
603
                                                            [% IF roadtype.authorised_value == patron.streettype %]
604
                                                                <option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
605
                                                            [% ELSE %]
606
                                                                <option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
607
                                                            [% END %]
608
                                                        [% END %]
609
                                                    </select>
610
                                                    <div class="required_label [% required.B_streettype | html %]">Required</div>
611
                                                </li>
612
                                            [% END %]
613
                                        [% END %]
595
                                        [% UNLESS hidden.defined('B_address') %]
614
                                        [% UNLESS hidden.defined('B_address') %]
596
                                            <li>
615
                                            <li>
597
                                                <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
616
                                                <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
598
- 

Return to bug 28313