| Jifty documentation | Contained in the Jifty distribution. |
Jifty::Web::Form::Field::InlineButton - Add buttons without a form
Overrides the default render sub to print a span, not a div and not print labels and preambles and hints
XXX TODO the superclass should be more general, so we can just override those things to not print
Don't show a wrapper for an inline button
Don't show a wrapper for an inline button
Don't show a label for an inline button
Don't show a label for an inline button
Don't show hints for an inline button
| Jifty documentation | Contained in the Jifty distribution. |
use warnings; use strict; package Jifty::Web::Form::Field::InlineButton; use base qw/Jifty::Web::Form::Field::Button/;
sub render_wrapper_start { } sub render_wrapper_end {} sub render_preamble {} sub render_label {} sub render_hints {} 1;