Bug 11522 self-registration formating

1. in prog theme, enable opac self-registration and inspect clear date with firebug
   note that there are empty paragraph tags
2. add date of birth as a requirment in self-registration
3. apply patch
4. refresh page and notice that empty paragraph tags have been deleted,
   so that required lines up with clear date
5. repeat the above steps for bootstrap theme

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Francesca Moore 2014-01-15 11:43:00 +13:00 committed by Kyle M Hall
parent 297399b001
commit ed7cfb950e
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@
<input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
[% UNLESS action == 'edit' && !OPACPatronDetails %]
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a><p></p>
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a>
[% END %]
[% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]