NAME

Jedi::Plugin::Template::Role - Jedi Plugin for Template Toolkit (Role)

VERSION

version 0.04

ATTRIBUTES

jedi_template_default_layout

if you want to set a default layout, use this attribute.

$jedi->jedi_template_default_layout('main.tt');

METHODS

jedi_template

This method will use Template to process your template.

$jedi->jedi_template($file, $vars);
$jedi->jedi_template($file, $vars, $layout);

The layout use the jedi_template_default_layout by default. You can also remove any layout, using the value "none".

The file is a file inside the subdir "views". The subdir "views" is located on the root of your apps, in the same directory than the "config.*".

BUGS

Please report any bugs or feature requests on the bugtracker website https://tasks.celogeek.com/projects/perl-modules-jedi

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

celogeek <me@celogeek.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by celogeek <me@celogeek.com>.

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