Lines 385-398
legend:hover {
Link Here
|
385 |
[% ELSE %] |
385 |
[% ELSE %] |
386 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> Male</label> |
386 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> Male</label> |
387 |
[% END %] |
387 |
[% END %] |
|
|
388 |
[% IF ( other ) %] |
389 |
<label for="sex-other"><input type="radio" name="sex" id="sex-other" value="O" checked="checked" /> Other</label> |
390 |
[% ELSE %] |
391 |
<label for="sex-other"><input type="radio" name="sex" id="sex-other" value="O" /> Other</label> |
392 |
[% END %] |
388 |
[% IF ( none ) %] |
393 |
[% IF ( none ) %] |
389 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> None specified</label> |
394 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> None specified / Prefer not to say</label> |
390 |
[% ELSE %] |
395 |
[% ELSE %] |
391 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> None specified</label> |
396 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> None specified / Prefer not to say</label> |
392 |
[% END %] |
397 |
[% END %] |
393 |
[% ELSE %] |
398 |
[% ELSE %] |
394 |
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> |
399 |
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> |
395 |
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> |
400 |
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> |
|
|
401 |
<label for="sex-other">Other </label><input type="radio" name="sex" id="sex-other" value="O" /> |
396 |
<label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
402 |
<label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
397 |
[% END # /UNLESS ( opduplicate )%] |
403 |
[% END # /UNLESS ( opduplicate )%] |
398 |
</li> |
404 |
</li> |
Lines 1604-1610
legend:hover {
Link Here
|
1604 |
} |
1610 |
} |
1605 |
$(toggle_from).each(function() { |
1611 |
$(toggle_from).each(function() { |
1606 |
var input_label = $(this).attr('for'); |
1612 |
var input_label = $(this).attr('for'); |
1607 |
if ( input_label == 'sex-male' || input_label == 'sex-none' || input_label == 'sex-female' ) { |
1613 |
if ( input_label == 'sex-male' || input_label == 'sex-none' || input_label == 'sex-female' || input_label == 'sex-other' ) { |
1608 |
$(toggle_to+"[for='"+input_label+"']").next().prop('checked', $(this).next().prop('checked') ); |
1614 |
$(toggle_to+"[for='"+input_label+"']").next().prop('checked', $(this).next().prop('checked') ); |
1609 |
return; |
1615 |
return; |
1610 |
} |
1616 |
} |