The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Form::Sensible::Renderer::HTML - an HTML based Form renderer

SYNOPSIS

    use Form::Sensible::Renderer::HTML;
    
    my $object = Form::Sensible::Renderer::HTML->new();

    $object->do_stuff();

DESCRIPTION

Renders a form as an HTML form. Returns a Form::Sensible::Renderer::HTML::RenderedForm object.

ATTRIBUTES

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.

tt_config

The config used when creating a new Template object.

default_options

Default options to pass through to the RenderedForm.

METHODS

render($form)

Returns a RenderedForm for the form provided.

new_template()

Returns a new Template object created using the tt_config attribute.

AUTHOR

Jay Kuri - <jayk@cpan.org>

SPONSORED BY

Ionzero LLC. http://ionzero.com/

SEE ALSO

Form::Sensible

LICENSE

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.