2024-03-22 04:54:28 +01:00
|
|
|
% layout 'default', title => "Sme server 2 - module";
|
|
|
|
|
|
|
|
% content_for 'module' => begin
|
|
|
|
|
|
|
|
<div id='module' class='module module-panel'>
|
2025-01-22 12:53:21 +01:00
|
|
|
% if (config->{debug} == 1) {
|
2024-03-22 04:54:28 +01:00
|
|
|
<p>
|
|
|
|
%= dumper $c->current_route
|
|
|
|
</p>
|
|
|
|
% }
|
|
|
|
% if ( stash 'error' ) {
|
|
|
|
<br><div class=sme-error>
|
|
|
|
%= $c->render_to_string(inline => stash 'error')
|
|
|
|
</div>
|
|
|
|
%}
|
|
|
|
<h1> <%=$title %></h1><br>
|
|
|
|
%= $c->render_to_string( inline => stash 'modul' )
|
|
|
|
</div>
|
|
|
|
|
|
|
|
%end
|