% layout 'default', title => "Sme server 2 - printers";
% content_for 'module' => begin
%if ($config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $prt_datas
%}
% if ( stash 'error' ) {
%= $c->render_to_string(inline => stash 'error')
%}
<%= $title%>
% if ($prt_datas->{trt} eq 'ADD') {
%= include 'partials/_prt_add'
%} elsif ($prt_datas->{trt} eq 'DEL') {
%= include 'partials/_prt_del'
%} elsif ($prt_datas->{trt} eq 'NET') {
%= include 'partials/_prt_net'
%} else {
%= include 'partials/_prt_list'
%}
%end