% layout 'default', title => "Sme server 2 - yum_update";
% content_for 'module' => begin
% if ($config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $yum_datas
% }
<%= $title%>
% if ( $notif ) {
%= $notif
%}
<% my $btn = l('NEXT'); %>
%= $c->render_to_string( inline => l 'yum_UPDATE_SUCCESS' )
% if ( $yum_datas->{reconf} eq 'yes' ) {
%= $c->render_to_string( inline => l 'yum_HEADER_POSTUPGRADE_REQUIRED' )
<% $btn = l('RECONFIGURE'); %>
% }
%= form_for 'yumd' => (method => 'POST') => begin
<%= $c->render_to_string(inline => $c->show_yum_log()) %>
%= hidden_field 'trt' => 'PSTU'
%= hidden_field 'reconf' => $yum_datas->{reconf}
%= submit_button "$btn", class => 'action'
% end
% end