Presenter: Neue Struktur im Layout umgesetzt
[kivitendo-erp.git] / SL / Layout / ActionBar / Submit.pm
index a130209..f3288c7 100644 (file)
@@ -3,8 +3,10 @@ package SL::Layout::ActionBar::Submit;
 use strict;
 use parent qw(SL::Layout::ActionBar::Action);
 
+use SL::Presenter::Tag qw(html_tag);
+
 sub render {
-  $_[0]->p->html_tag('div', $_[0]->text,
+  html_tag('div', $_[0]->text,
     id    => $_[0]->id,
     class => 'layout-actionbar-action layout-actionbar-submit',
   );