% layout 'default', title => "Sme server 2 - ibays"; % content_for 'module' => begin
% if ($config->{debug} == 1) {

%= dumper $c->current_route %= dumper $iba_datas

% } % if ( stash 'error' ) {
%= $c->render_to_string(inline => stash 'error')
%}

<%= $title%>

% if ( stash 'modul' ) { %= $c->render_to_string(inline => stash 'modul' ); % } % if ($iba_datas->{trt} eq 'ADD') { %= include 'partials/_iba_upd' %} elsif ($iba_datas->{trt} eq 'DEL') { %= include 'partials/_iba_del' %} elsif ($iba_datas->{trt} eq 'UPD') { %= include 'partials/_iba_upd' %} elsif ($iba_datas->{trt} eq 'PWD') { %= include 'partials/_iba_pwd' %} else { %= include 'partials/_iba_list' %}
%end