NAME

Form::Diva - Generate HTML5 form label and input fields

VERSION

version 0.0103

SYNOPSIS

Generate Form Label and Input Tags from a simple data structure. Simplify form code in your views without replacing it without a lot of even uglier Perl Code in your Controller.

Drastically reduce form clutter in your View Templates with small Data Structures in your Controller or Model!

DESCRIPTION

Create a new instance of Form::Diva from an array_ref of hash_refs describing each field of your form. The most common elements have a single letter abbreviation to reduce typing.

Return a similar structure of the label and input elements ready for inclusion in a web page by your templating system.

USAGE

Bugs

AUTHOR

John Karr, brainbuz at brainbuz.org

BUGS

Please report any bugs or feature requests through the web interface at https://bitbucket.org/brainbuz/formdiva/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Form::Diva

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2014 John Karr.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.