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

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

% }

<%= $title%>

% if ( $notif ) {
%= $notif
%}
%= form_for 'yumd' => (method => 'POST') => begin %=l 'yum_HEADER_AVAILABLE_SOFTWARE'

% if ($c->non_empty('available','group')) { %=l 'yum_DESC_AVAILABLE_GROUPS'

%=l 'yum_LABEL_AVAILABLE_GROUPS' % param 'SelectedGroups' => $c->get_names2('updates','group') unless param 'SelectedGroups'; %= select_field 'SelectedGroups' => $c->get_options2('available', 'group'), class => 'input', multiple => "1"

%}
% if ($c->non_empty('available','packages')) { %=l 'yum_DESC_AVAILABLE_PACKAGES'

%=l 'yum_LABEL_AVAILABLE_PACKAGES' % param 'SelectedPackages' => $c->get_names2('updates','package') unless param 'SelectedPackages'; %= select_field 'SelectedPackages' => $c->get_options2('available', 'package'), class => 'input', multiple => "1"

%} %= hidden_field 'trt' => 'INST'

%= submit_button $c->l('yum_INSTALL_SOFTWARE'), class => 'action'
% end
% end