% layout 'AdminLTE', title => "Sme server 2 - reboot";

% content_for 'module' => begin

<div class="card-body">

    %if (config->{debug} == 1) {
    <p>
    (DBG)route: <%= $c->current_route %><br>
    </p>
    %}

    <h1><%= $title %></h1>
    <br>

    %= $modul

    <%  my $btn = l('PERFORM'); %>
    %= form_for 'reboot' => (method => 'POST') => begin

    <p>
    %= $c->render_to_string(inline => $c->l('rbo_DESCRIPTION'))
    <br><br>

    <span class="">
    %=l 'rbo_LABEL_REBOOT'
    </span>
    <span class="">
    %= select_field 'function' => $c->rebootFunction_list()
    </span>
    </p><br>

    %= submit_button "$btn", class => ""

    % end

    %= hidden_field 'debug' => '1'

</div>
%end