[% # USE DataPrinter;
#DataPrinter.dump_html(request.route.prefix);
%]
[% IF vars.input_error # after 'forward' %]
[% vars.input_error %]
[% ELSIF deferred.input_success # after 'redirect' %]
Input success ...
[% END %]
[% IF records AND NOT records.size # no records found %]
No records found matching "[% params.search %]"
[% END %]
[% BLOCK document_block %]
Title
[% IF entry.content AND NOT vars.is_edit;
USE date(format = '%d/%m/%Y @ %H:%M') %]
Created
[% entry.content | html %]
[% ELSE %]
[% END %]
[% END # document_block %]
[% IF records;
FOREACH entry IN records;
SET uri = vars.is_edit
? uri_for_section.infolib.update : uri_for_section.infolib.edit;
%]
[% END # foreach entry in records %]
[% ELSE # not records %]