Dancer::Plugin::TTHelpers is a Perl module with useful routines for generating HTML for use with Dancer + TT.
SYNOPSIS
In your Dancer application's MyApp.pm file ...
package MyApp;
use Dancer ':syntax';
use Dancer::Plugin::TTHelpers;
and in your application's views ...
< !-- in layout.tt -- >
< % css('foo') % >
< % js('bar') % >
< !-- in index.tt -- >
Name: < % text('name') % >< /br >
Shirt Size: < % radio('size', sizes) % >< /br >
Quantity: < % select('quantity', quants) %>< /br >
< !-- etc. -- >
Product's homepage
Requirements:
· Perl