1HTML::FormHandler::WidgUeste:r:TChoenmter:iH:bTBuMotLoe:td:sFtPorerarmplH(a3Dn)odcluemre:n:tWaitdigoent::Theme::Bootstrap(3)
2
3
4

NAME

6       HTML::FormHandler::Widget::Theme::Bootstrap - sample bootstrap theme
7

VERSION

9       version 0.40068
10

SYNOPSIS

12       Also see HTML::FormHandler::Manual::Rendering.
13
14       Sample Bootstrap theme role. Can be applied to your subclass of
15       HTML::FormHandler.  Sets the widget wrapper to 'Bootstrap' and renders
16       form messages using Bootstrap formatting and classes.
17
18       There is an example app using Bootstrap at
19       http://github.com/gshank/formhandler-example.
20
21       This is a lightweight example of what you could do in your own custom
22       Bootstrap theme. The heavy lifting is done by the Bootstrap wrapper,
23       HTML::FormHandler::Widget::Wrapper::Bootstrap, which you can use by
24       itself in your form with:
25
26           has '+widget_wrapper' => ( default => 'Bootstrap' );
27
28       It also uses HTML::FormHandler::Widget::Theme::BootstrapFormMessages to
29       render the form messages in a Bootstrap style:
30
31          <div class="alert alert-error">
32              <span class="error_message">....</span>
33          </div>
34
35       By default this does 'form-horizontal' with 'build_form_element_class'.
36       Implement your own sub to use 'form-vertical':
37
38          sub build_form_element_class { ['form-vertical'] }
39

AUTHOR

41       FormHandler Contributors - see HTML::FormHandler
42
44       This software is copyright (c) 2017 by Gerda Shank.
45
46       This is free software; you can redistribute it and/or modify it under
47       the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.30.0                    HT2M0L1:9:-F0o7r-m2H6andler::Widget::Theme::Bootstrap(3)
Impressum