NAME¶
HTML::FormHandler::Widget::Wrapper::Bootstrap - Twitter Bootstrap 2.0 field
wrapper
VERSION¶
version 0.40057
SYNOPSIS¶
Wrapper to implement Bootstrap 2.0 style form element rendering. This wrapper
does some very specific Bootstrap things, like wrap the form elements in divs
with non-changeable classes. It is not as flexible as the 'Simple' wrapper,
but means that you don't have to specify those classes in your form code.
It wraps form elements with 'control-group' divs, and form 'actions' with
'form-actions' divs. It adds special additional wrappers for checkboxes and
radio buttons, with wrapped labels.
DESCRIPTION¶
Tags supported:
label_no_filter -- don't html filter the label
label_after -- useful for putting a colon, or other trailing formatting
before_element -- insert tag before input, outside element's control div
before_element_inside_div -- insert tag before input element, inside control div
input_prepend -- for Bootstrap 'input-prepend' class
input_append -- for Bootstrap 'input-append' class
input_append_button -- 'input-append' with button instead of span
no_errors -- don't append error to field rendering
after_element -- insert tag after input element
AUTHOR¶
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2014 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same
terms as the Perl 5 programming language system itself.