NAME

Amon2::Plugin::Web::FillInFormLite - HTML::FillInForm::Lite

SYNOPSIS

use Amon2::Lite;

__PACKAGE__->load_plugins(qw/Web::FillInFormLite/);

post '/edit' => sub {
    my $c = shift;
    unless (is_valid()) {
        $c->fillin_form($c->req);
        return $c->render('edit.html');
    }
    $c->dbh->update($c->req());
    return $c->redirect('/finished');
};

DESCRIPTION

HTML::FillInForm::Lite version of Amon2::Plugin::FillInForm

SEE ALSO

HTML::FillInForm::Lite, Amon2