Added missing labels
authorMarcel Werk <burntime@woltlab.com>
Thu, 20 Oct 2016 17:49:24 +0000 (19:49 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 20 Oct 2016 17:49:29 +0000 (19:49 +0200)
wcfsetup/install/files/acp/templates/boxConditions.tpl

index 75a51de98ad58abc0c8a1936cbedffd9682b4e53..5daf5380fa3f2b1e83d1340784bc687127f9e4b4 100644 (file)
@@ -5,7 +5,7 @@
        
        {if $defaultLimit !== null}
                <dl{if $errorField === 'limit'} class="formError"{/if}>
-                       <dt>{lang}wcf.acp.box.settings.limit{/lang}</dt>
+                       <dt><label for="limit">{lang}wcf.acp.box.settings.limit{/lang}</label></dt>
                        <dd>
                                <input type="number" name="limit" id="limit" value="{$limit}" min="{$minimumLimit}"{if $maximumLimit !== null} max="{$maximumLimit}"{/if} class="tiny">
                                {if $errorField === 'limit'}
@@ -23,7 +23,7 @@
        
        {if !$validSortFields|empty}
                <dl{if $errorField === 'sorting'} class="formError"{/if}>
-                       <dt>{lang}wcf.global.sorting{/lang}</dt>
+                       <dt><label for="sortField">{lang}wcf.global.sorting{/lang}</label></dt>
                        <dd>
                                <select name="sortField" id="sortField">
                                        {foreach from=$validSortFields item=validSortField}