$self->create_form($opts)
override Form::Sensible's create_form
method so we can add in the info we want from DBIC
NAME
Form::Sensible::Form::Reflector - A base class for writing Form::Sensible reflectors.
VERSION
version 0.03
SYNOPSIS
package My::Reflector;
use Moose;
use namespace::autoclean;
extends 'Form::Sensible::Form::Reflector';
sub get_field_types_for { ... }
sub get_fieldnames { ... }
sub get_field_definition { ... }
DESCRIPTION
This is a base class to write reflectors for things like, configuration files, or my favorite, a database schema.
The idea is to give you something that creates a form from some other source that already defines form-like properties, ie a database schema that already has all the properties and fields a form would need.
I personally hate dealing with forms that are longer than a search field or login form, so this really fits into my style.
FEATURES
One of the first of its kind to actually reflect a DBIx::Class schema with minimal setup and code.
EXAMPLES
See t/01test_reflector for a fairly comprehensive reflector setup.
AUTHOR
Devin Austin <dhoss@cpan.org>
SEE ALSO
Form::Sensible Form::Sensible Wiki: http://wiki.catalyzed.org/cpan-modules/form-sensible Form::Sensible Discussion: http://groups.google.com/group/formsensible