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

% content_for 'module' => begin

<div class="card-body">

    % if (config->{debug} == 1) {
    <div>
        %= dumper $c->current_route
        %= dumper $quo_datas
    </div>
    % }

    % if ( stash 'error' ) {
        <br>
        <div class="text-danger">
            <%= $c->render_to_string(inline => stash 'error') %>
        </div>
    % }

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

    % if ($quo_datas->{trt} eq 'UPD') {
        <%= include 'partials/_quo_upd' %>
    % } else {
        <%= include 'partials/_quo_list' %>
    % }

</div>

%end

