Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple plugin to make forms accessible quickly off the CTX.
Perl
branch: releases

This branch is 1 commit behind perl-spark:releases

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Catalyst/Plugin/Spark
t
Build.PL
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
perlcriticrc

README

NAME
    Catalyst::Plugin::Spark::Form - A simple plug-in to make forms
    accessible quickly off the CTX.

VERSION
    version 0.01000001

SYNOPSIS
      use Catalyst qw/ Spark::Form /;

      ...

      sub action {
        my ( $self, $ctx, @rest ) = @_;

        $ctx->form('bar') # loads My::Project::Form::Bar or My::Project::F::Bar

      }

METHODS
  form
      $ctx->form( $formname )

CREDITS
    Code thrown together by James Laver <http://jameslaver.com>.

    Code stolen from $c->controller.

DISCLAIMER
    The code mightn't work, but its not my fault if it doesn't. Will gladly
    accept patches.

AUTHOR
    Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2009 by Kent Fredric.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

Something went wrong with that request. Please try again.