| 1 | package HTML::FormHandler::Widget::Theme::Bootstrap3; | ||||||||||
| 2 | # ABSTRACT: sample Bootstrap3 theme | ||||||||||
| 3 | 2 | $HTML::FormHandler::Widget::Theme::Bootstrap3::VERSION = '0.410002'; | |||||||||
| 4 | |||||||||||
| 5 | 2 | ▶ | use Moose::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 2 | with 'HTML::FormHandler::Widget::Theme::BootstrapFormMessages'; | |||||||||
| 7 | |||||||||||
| 8 | 2 | ▶ | after 'before_build' => sub { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.2
| |||||||||||
| 9 | 2 | my $self = shift; | |||||||||
| 10 | 2 | ▶ | $self->set_widget_wrapper('Bootstrap3') | ||||||||
|
Branch: 1 branch
| |||||||||||
| 11 | if $self->widget_wrapper eq 'Simple'; | ||||||||||
| 12 | 2 | }; | |||||||||
| 13 | |||||||||||
| 14 | 2 | ▶ | sub build_form_element_class { ['form-horizontal'] } | ||||||||
|
Subroutine
build_form_element_class: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub form_messages_alert_error_class { 'alert-danger' } | ||||||||
|
Subroutine
form_messages_alert_error_class: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 17 | |||||||||||
| 18 | 2 | 1; | |||||||||
| 19 | |||||||||||
| 20 | __END__ | ||||||||||