From bd361d2434488a830f5c0a486465d5fda1474e4c Mon Sep 17 00:00:00 2001 From: hieuvu Date: Mon, 31 May 2021 08:26:05 +0700 Subject: [PATCH] Add actions title to elements table (#425) --- classes/edit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/edit_form.php b/classes/edit_form.php index 50f642c..f091998 100644 --- a/classes/edit_form.php +++ b/classes/edit_form.php @@ -247,7 +247,7 @@ class edit_form extends \moodleform { // Create a table to display these elements. $table = new \html_table(); $table->attributes = array('class' => 'generaltable elementstable'); - $table->head = array(get_string('name', 'customcert'), get_string('type', 'customcert'), ''); + $table->head = array(get_string('name', 'customcert'), get_string('type', 'customcert'), get_string('actions')); $table->align = array('left', 'left', 'left'); // Loop through and add the elements to the table. foreach ($elements as $element) {