Add actions title to elements table (#425)
This commit is contained in:
parent
39e2bdd95d
commit
135630487c
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class edit_form extends \moodleform {
|
||||||
// Create a table to display these elements.
|
// Create a table to display these elements.
|
||||||
$table = new \html_table();
|
$table = new \html_table();
|
||||||
$table->attributes = array('class' => 'generaltable elementstable');
|
$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');
|
$table->align = array('left', 'left', 'left');
|
||||||
// Loop through and add the elements to the table.
|
// Loop through and add the elements to the table.
|
||||||
foreach ($elements as $element) {
|
foreach ($elements as $element) {
|
||||||
|
|
Loading…
Reference in a new issue