1HTML::FormHandler::WidgUeste:r:TChoenmterH:iT:bMBuLot:oe:tdFsotPrremarHpla3n(Dd3ol)ceurm:e:nWtiadtgieotn::Theme::Bootstrap3(3)
2
3
4

NAME

6       HTML::FormHandler::Widget::Theme::Bootstrap3 - sample Bootstrap3 theme
7

VERSION

9       version 0.40068
10

SYNOPSIS

12       Also see HTML::FormHandler::Manual::Rendering.
13
14       Sample Bootstrap3 theme role. Can be applied to your subclass of
15       HTML::FormHandler.  Sets the widget wrapper to 'Bootstrap3' and renders
16       form messages using Bootstrap3 formatting and classes.
17
18       There is an example app using Bootstrap3 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       Bootstrap3 theme. The heavy lifting is done by the Bootstrap3 wrapper,
23       HTML::FormHandler::Widget::Wrapper::Bootstrap3, which you can use by
24       itself in your form with:
25
26           has '+widget_wrapper' => ( default => 'Bootstrap3' );
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-danger">
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.34.0                   HTM2L0:2:1F-o0r7m-H2a2ndler::Widget::Theme::Bootstrap3(3)
Impressum