45 lines
925 B
Plaintext
Raw Normal View History

% layout 'default', title => "Sme server 2 - yum_update";
% content_for 'module' => begin
<div id="" class="">
% if (config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $yum_datas
</p>
% }
<h1><%= $title%></h1>
% if ( $notif ) {
<br><div class="">
%= $notif
</div>
%}
%= form_for 'yumd' => (method => 'POST') => begin
%=l 'yum_DESC_AVAILABLE_UPDATES'
<p><span class="">
%=l 'yum_LABEL_AVAILABLE_UPDATES'
</span><span class="">
% param 'SelectedPackages' => $c->get_names2('updates','package') unless param 'SelectedPackages';
%= select_field 'SelectedPackages' => $c->get_options2('updates', 'package'), class => "", multiple => "1"
</span></p>
<!-- $c->print_skip_header() -->
%= hidden_field 'trt' => 'UPDT'
<br>
<!--<div class="">-->
%= submit_button $c->l('yum_INSTALL_UPDATES'), class => ""
<!--</div>-->
% end
</div>
% end