MDL-69582 tool_customlang: fix options layout

This commit is contained in:
Ferran Recio
2020-10-01 11:08:37 +02:00
parent 55c0e80595
commit 757f832ffc
@@ -57,8 +57,9 @@ class renderer extends \plugin_renderer_base {
protected function render_tool_customlang_menu(\tool_customlang_menu $menu) {
$output = '';
foreach ($menu->get_items() as $item) {
$output .= $this->single_button($item->url, $item->title, $item->method);
$button = $this->single_button($item->url, $item->title, $item->method);
$output .= $this->box($button, 'menu');
}
return $this->box($output, 'menu');
return $output;
}
}