% layout 'AdminLTE', title => 'Sme server 2 - Bug report 2';

% content_for 'module' => begin

<div class="card-body">

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

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

    <br><%= $modul %><br>

    <% my $btn = l('bugr_Download this report'); %>

    %= form_for 'bugreportD' => (method => 'POST') => begin
        %= submit_button "$btn", class => ""
        %= hidden_field 'trt' => $bugr_datas->{trt}
    % end   
    
    % my $out = "================== <br />";
    % $out .= "Boot anaysis image (right click and save image to download)<br />";
    % $out .= "================== <br />";
    % $out .= "<img src='images/boot.svg' alt='boot timing image' width=95% >";
    
   <br><%= $c->render_to_string(inline=>$out) %><br>

</div>

%end