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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-1 / +3 lines)
Lines 161-167 Link Here
161
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
161
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
162
162
163
                                            [% UNLESS action == 'edit' && !OPACPatronDetails %]
163
                                            [% UNLESS action == 'edit' && !OPACPatronDetails %]
164
                                                <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a>
164
                                                [% UNLESS ( mandatory.defined('dateofbirth') ) %]
165
                                                    <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a>
166
                                                [% END %]
165
                                            [% END %]
167
                                            [% END %]
166
168
167
                                            [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]
169
                                            [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt (-2 / +3 lines)
Lines 168-174 Link Here
168
                                                    <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
168
                                                    <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
169
169
170
                                                    [% UNLESS action == 'edit' && !OPACPatronDetails %]
170
                                                    [% UNLESS action == 'edit' && !OPACPatronDetails %]
171
                                                        <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a>
171
                                                        [% UNLESS ( mandatory.defined('dateofbirth') ) %]
172
                                                            <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a>
173
                                                        [% END %]
172
                                                    [% END %]
174
                                                    [% END %]
173
175
174
                                                    [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]
176
                                                    [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]
175
- 

Return to bug 11809