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 591-596 Link Here
591
                                    <legend id="alternateaddress_legend">Alternate address</legend>
591
                                    <legend id="alternateaddress_legend">Alternate address</legend>
592
592
593
                                    <ol>
593
                                    <ol>
594
                                        [% IF roadtypes %]
595
                                            [% UNLESS hidden.defined('B_streettype') %]
596
                                                <li>
597
                                                    <label for="borrower_B_streettype" class="[% required.B_streettype | html %]">Street type:</label>
598
599
                                                    <select name="borrower_B_streettype" name="borrower_B_streettype" class="[% required.B_streettype | html %]">
600
                                                        <option value=""></option>
601
                                                        [% FOR roadtype IN roadtypes %]
602
                                                            [% IF roadtype.authorised_value == patron.streettype %]
603
                                                                <option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
604
                                                            [% ELSE %]
605
                                                                <option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
606
                                                            [% END %]
607
                                                        [% END %]
608
                                                    </select>
609
                                                    <div class="required_label [% required.B_streettype | html %]">Required</div>
610
                                                </li>
611
                                            [% END %]
612
                                        [% END %]
594
                                        [% UNLESS hidden.defined('B_address') %]
613
                                        [% UNLESS hidden.defined('B_address') %]
595
                                            <li>
614
                                            <li>
596
                                                <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
615
                                                <label for="borrower_B_address" class="[% required.B_address | html %]">Address:</label>
597
- 

Return to bug 28313