[aur-dev] [PATCH v2] pkg_comment_form.php: Remove redundant label for the comment box
canyonknight
canyonknight at gmail.com
Wed Oct 10 16:25:52 EDT 2012
Comment box already uses <h2> tag. Additional label is not needed.
Also remove label for form submit button.
Reported-by: Dave Reisner <d at falconindy.com>
Signed-off-by: canyonknight <canyonknight at gmail.com>
---
web/template/pkg_comment_form.php | 2 --
1 file changed, 2 deletions(-)
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php
index 9315b0a..903173d 100644
--- a/web/template/pkg_comment_form.php
+++ b/web/template/pkg_comment_form.php
@@ -12,11 +12,9 @@ if (isset($_REQUEST['comment']) && check_token()) {
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
</div>
<p>
- <label for="id_comment"><?= __("Comment") . ':' ?></label>
<textarea id="id_comment" name="comment" cols="80" rows="10"></textarea>
</p>
<p>
- <label></label>
<input type="submit" value="<?= __("Add Comment") ?>" />
</p>
</fieldset>
--
1.7.12.2
More information about the aur-dev
mailing list