Adds a <label> tag surrounding the math problem shown to users who are
not logged in when they email a record from the OPAC.
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
[% IF ctx.captcha.key %]
<div class="searchbar">
<p>[% l('Please prove you are not a robot by answering the following addition problem:') %]</p>
- <p>[% ctx.captcha.left %] + [% ctx.captcha.right %] = <input type="text" name="capanswer"/></p>
+ <p><label for="capanswer">[% ctx.captcha.left %] + [% ctx.captcha.right %] = </label> <input type="text" name="capanswer" id="capanswer"/></p>
<input type="hidden" name="capkey" value="[% ctx.captcha.key %]"/>
</div>
[% END %]
[% IF ctx.captcha.key %]
<div class="searchbar">
<p>[% l('Please prove you are not a robot by answering the following addition problem:') %]</p>
- <p>[% ctx.captcha.left %] + [% ctx.captcha.right %] = <input type="text" name="capanswer"/></p>
+ <p><label for="capanswer">[% ctx.captcha.left %] + [% ctx.captcha.right %] = </label> <input type="text" name="capanswer" id="capanswer"/></p>
<input type="hidden" name="capkey" value="[% ctx.captcha.key %]"/>
</div>
[% END %]