% layout 'default', title => "Sme server 2 - useraccounts";
% content_for 'module' => begin
% if ($config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $usr_datas
% }
<%= $title%>
% if ( $notif ) {
<%= $c->render_to_string(inline => $notif) %>
%}
% if ($usr_datas->{trt} eq 'ADD' or $usr_datas->{trt} eq 'UPD') {
%= include 'partials/_usr_upd'
%} elsif ($usr_datas->{trt} eq 'DEL') {
%= include 'partials/_usr_del'
%} elsif ($usr_datas->{trt} eq 'LCK') {
%= include 'partials/_usr_lock'
%} elsif ($usr_datas->{trt} eq 'PWD') {
%= include 'partials/_usr_pwd'
%} elsif ($usr_datas->{trt} eq 'PWS') {
%= include 'partials/_usr_pwds'
%} elsif ($usr_datas->{trt} eq 'UPS') {
%= include 'partials/_usr_upds'
%} else {
%= include 'partials/_usr_list'
%}
%end