Form::Sensible::Renderer::HTML - an HTML based Form renderer
use Form::Sensible::Renderer::HTML; my $object = Form::Sensible::Renderer::HTML->new(); $object->do_stuff();
Renders a form as an HTML form. Returns a Form::Sensible::Renderer::HTML::RenderedForm object.
template
The Template object used by this renderer. You can provide your own by setting this attribute. If you do not set it, a new Template object is created using the parameter below.
include_paths
An arrayref containing the filesystem paths to search for field templates.
base_theme
The theme to use for form rendering. Defaults to default, currently the only theme distributed with Form::Sensible.
default
tt_config
The config used when creating a new Template object.
default_options
Default options to pass through to the RenderedForm.
render($form)
Returns a RenderedForm for the form provided.
new_template()
Returns a new Template object created using the tt_config attribute.
Jay Kuri - <jayk@cpan.org>
Ionzero LLC. http://ionzero.com/
Form::Sensible
Copyright 2009 by Jay Kuri <jayk@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Form::Sensible, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Sensible
CPAN shell
perl -MCPAN -e shell install Form::Sensible
For more information on module installation, please visit the detailed CPAN module installation guide.