mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-51802 core: new template for quick editing a title
convert editing tag name to use new template
This commit is contained in:
parent
2f45a11ac4
commit
cdc5f9785b
23 changed files with 636 additions and 171 deletions
|
@ -4120,6 +4120,16 @@ EOD;
|
|||
$list = new \core_tag\output\taglist($tags, $label, $classes, $limit, $pagecontext);
|
||||
return $this->render_from_template('core_tag/taglist', $list->export_for_template($this));
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders element for inline editing of any value
|
||||
*
|
||||
* @param \core\output\inplace_editable $element
|
||||
* @return string
|
||||
*/
|
||||
public function render_inplace_editable(\core\output\inplace_editable $element) {
|
||||
return $this->render_from_template('core/inplace_editable', $element->export_for_template($this));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue