summaryrefslogtreecommitdiffstats
path: root/web/html/pkgdel.php
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-23 07:28:24 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-27 13:04:03 +0200
commit226376fc6296aec6b5dbbc52a7fda69a2a6fce87 (patch)
tree16035ab172bce435fab450d934cf63da335a8811 /web/html/pkgdel.php
parent0fa4836e66f9c7242c185e36d138f1158a3c1006 (diff)
downloadaurweb-226376fc6296aec6b5dbbc52a7fda69a2a6fce87.tar.xz
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>
Diffstat (limited to 'web/html/pkgdel.php')
-rw-r--r--web/html/pkgdel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php
index bad1cd3..face081 100644
--- a/web/html/pkgdel.php
+++ b/web/html/pkgdel.php
@@ -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>