File: field_layout_errors

package info (click to toggle)
libhtml-formfu-perl 2.07000-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 4,392 kB
  • sloc: perl: 12,777; makefile: 9; sql: 5
file content (16 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[% IF self.errors
%][%    IF self.error_container_tag.defined
%]<[%       self.error_container_tag %][% process_attrs(self.error_container_attributes) %]>
[%      END
%][%    output = []
%][%    FOREACH error = self.errors
%][%        item = []
%][%        item.push("<", self.error_tag, process_attrs(error.attributes), ">", error.message, "</", self.error_tag, ">" )
%][%        output.push( item.join("") )
%][%    END
%][%    output.join("\n")
%][%    IF self.error_container_tag.defined
%]
</[% self.error_container_tag
%]>[%    END
%][% END -%]