Wrap all confirmation checkbox labels in label tag

Without a label tag around the label it won't be clickable.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Johannes Löthberg 2015-06-23 07:28:24 +02:00 committed by Lukas Fleischer
parent 0fa4836e66
commit 226376fc62
5 changed files with 9 additions and 9 deletions

View file

@ -34,8 +34,8 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?>
<?php if (isset($_GET['via'])): ?>
<input type="hidden" name="via" value="<?= intval($_GET['via']) ?>" />
<?php endif; ?>
<p><input type="checkbox" name="confirm" value="1" />
<?= __("Confirm package deletion") ?></p>
<p><label><input type="checkbox" name="confirm" value="1" />
<?= __("Confirm package deletion") ?></label></p>
<p><input type="submit" class="button" name="do_Delete" value="<?= __("Delete") ?>" /></p>
</fieldset>
</form>