Complete subject toolbar actions

This commit is contained in:
Wojtek
2026-10-15 17:01:52 +02:00
parent 19e8c7279a
commit f70031ab70
4 changed files with 5 additions and 2 deletions
@@ -18,7 +18,9 @@ class HtmlView extends BaseHtmlView
$this->form = $this->get('Form');
$this->item = $this->get('Item');
ToolbarHelper::title($this->item->id ? Text::_('COM_TESTQUESTIONS_EDIT_SUBJECT') : Text::_('COM_TESTQUESTIONS_NEW_SUBJECT'));
ToolbarHelper::apply('subject.apply', 'JTOOLBAR_APPLY');
ToolbarHelper::save('subject.save', 'JTOOLBAR_SAVE');
ToolbarHelper::save2new('subject.save2new', 'JTOOLBAR_SAVE_AND_NEW');
ToolbarHelper::cancel('subject.cancel', 'JTOOLBAR_CANCEL');
return parent::display($tpl);