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

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

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

<%= $title%>

% if ($dom_datas->{trt} eq 'ADD' or $dom_datas->{trt} eq 'UPD') { %= include 'partials/_dom_upd' %} elsif ($dom_datas->{trt} eq 'DEL') { %= include 'partials/_dom_del' %} elsif ($dom_datas->{trt} eq 'UP2') { %= include 'partials/_dom_up2' %} else { %= include 'partials/_dom_list' %}
%end