Comment box already uses <h2> tag. Additional label is not needed.
Also remove label for form submit button.

Reported-by: Dave Reisner <[email protected]>
Signed-off-by: canyonknight <[email protected]>
---
 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

Reply via email to