%# vim:syn=mason
<& "/contenido/components/header.msn" &>
<& "/contenido/components/naviline.msn", sect_id => $owner->id &>
% if ($error) {
<% $error %>
% }
% if (!ref($document)) {
% if ($id) {
Документ с идентификатором <% $id %> не найден
% } elsif ($class) {
|
% } else {
Неверный вызов документа!!! (отсутствуют id и class одновременно)
% }
% } else {
<& "/contenido/components/obj_list_js.msn", object => $document &>
<& "/contenido/webshop/components/order_form.msn",
object => $document,
proto => 'documents',
sect_id => $owner->id,
filter_params => \%filter_params,
&>
% }