% layout 'AdminLTE', title => "Sme server 2 - workgroup"; % content_for 'module' => begin
%if (config->{debug} == 1) {
(DBG)route: <%= $c->current_route %>
(DBG)pdc: <%= $wkg_datas->{ServerRole}%>
(DBG)roam: <%= $wkg_datas->{RoamingProfiles}%>
%}

<%= $title %>


<%= $modul %> <% my $btn = l('SAVE'); %>
<%= l 'wkg_DESC_WORKGROUP' %>

Limited to 15 characters by the NETBIOS

<%= l 'wkg_DESC_SERVERNAME' %>


%= $c->render_to_string(inline => l 'wkg_DESC_PDC')

<%= l 'wkg_LABEL_PDC' %>
% param 'ServerRole' => $wkg_datas->{ServerRole} unless param 'ServerRole'; <%= select_field 'ServerRole' => [[ (l 'YES') => 'PDC'], [ (l 'NO') => 'WS']], class => "form-select" %>

<%= $c->render_to_string(inline => l 'wkg_DESC_ROAM') %>

<%= l 'wkg_LABEL_ROAM' %>
% param 'RoamingProfiles' => $wkg_datas->{RoamingProfiles} unless param 'RoamingProfiles'; <%= select_field 'RoamingProfiles' => [[ (l 'YES') => 'yes'], [ (l 'NO') => 'no']], class => "form-select" %>
%end