@ -58,7 +58,7 @@ sub index :Path Form {
$c->stash(form => $form);
$c->stash(realm => $realm);
$c->stash(template => 'login.tt');
$c->stash(template => 'login/login.tt');
}
@ -1,7 +1,7 @@
[%
IF template.name.match('(\.html$|\.css$|\.js$|\.txt$)');
content;
ELSIF template.name.match('^login\.tt$');
ELSIF template.name.match('^login\/login\.tt$');
content WRAPPER html.tt;
ELSE;
content WRAPPER html.tt + body.tt;