File Coverage

blib/lib/HTML/FormHandler/Widget/Wrapper/None.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 10 11 90.9


line stmt bran cond sub pod time code
1             package HTML::FormHandler::Widget::Wrapper::None;
2             # ABSTRACT: wrapper that doesn't wrap
3             $HTML::FormHandler::Widget::Wrapper::None::VERSION = '0.40068';
4              
5 11     11   8000 use Moose::Role;
  11         29  
  11         94  
6              
7 27     27 0 151 sub wrap_field { "\n" . $_[2] }
8              
9 11     11   59280 use namespace::autoclean;
  11         30  
  11         136  
10             1;
11              
12             __END__
13              
14             =pod
15              
16             =encoding UTF-8
17              
18             =head1 NAME
19              
20             HTML::FormHandler::Widget::Wrapper::None - wrapper that doesn't wrap
21              
22             =head1 VERSION
23              
24             version 0.40068
25              
26             =head1 DESCRIPTION
27              
28             This wrapper does nothing except return the 'bare' rendered form element,
29             as returned by the 'widget'. It does not add errors or anything else.
30              
31             =head1 AUTHOR
32              
33             FormHandler Contributors - see HTML::FormHandler
34              
35             =head1 COPYRIGHT AND LICENSE
36              
37             This software is copyright (c) 2017 by Gerda Shank.
38              
39             This is free software; you can redistribute it and/or modify it under
40             the same terms as the Perl 5 programming language system itself.
41              
42             =cut