MATSUNO★Tokuhiro > Amon2 > Amon2::Plugin::Web::FillInFormLite

Download:
Amon2-6.09.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

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::Web::FillInForm

SEE ALSO ^

HTML::FillInForm::Lite, Amon2

syntax highlighting: