Merge branch '6.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / birthdaySearchableOptionType.tpl
... / ...
CommitLineData
1<input type="number" id="{$option->optionName}" name="values[{$option->optionName}][ageFrom]" value="{$valueAgeFrom}" placeholder="{lang}wcf.user.birthday.age.from{/lang}" min="0" max="120" class="tiny">
2<input type="number" id="{$option->optionName}_age_to" name="values[{$option->optionName}][ageTo]" value="{$valueAgeTo}" placeholder="{lang}wcf.user.birthday.age.to{/lang}" min="0" max="120" class="tiny">
3
4<script data-relocate="true">
5$(function() {
6 $('#{$option->optionName}').parents('dl:eq(0)').find('> dt > label').text('{jslang}wcf.user.birthday.age{/jslang}');
7});
8</script>