Commit 7535e2e6 authored by Pramith Dayananda's avatar Pramith Dayananda Committed by Kristina Hoeppner

Bug 1529718: Anonymous comment area, show label for Message textarea

behatnotneeded

Anonymous comment area needs a label
for the "Comment" text field
Changes proposed in review

Change-Id: Ia0d61bb7bc14fe36694e25abd4d420efe9b2e509
parent bb8fd1bb
......@@ -935,7 +935,7 @@ class ArtefactTypeComment extends ArtefactType {
$form['elements']['message'] = array(
'type' => 'wysiwyg',
'title' => get_string('message'),
'class' => 'hide-label',
'class' => ($USER->is_logged_in() ? 'hide-label' : ''),
'rows' => 5,
'cols' => 80,
'rules' => array('maxlength' => 8192),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment