File: field_layout_errors

package info (click to toggle)
libhtml-formfu-perl 2.01000-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,116 kB
  • ctags: 828
  • sloc: perl: 12,478; makefile: 7; sql: 5
file content (16 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
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 %]