blib/lib/Yukki/Web/View/Login.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
page
2.0
BEGIN
2.0
CRAP 2.0
1 package Yukki::Web::View::Login;
2 {
3 $Yukki::Web::View::Login::VERSION = '0.140290';
4 }
5 use Moose;
6  
7 extends 'Yukki::Web::View';
8  
9 # ABSTRACT: show a login form
10  
11  
12 sub page {
13 my ($self, $ctx) = @_;
14  
15 return $self->render_page(
16 template => 'login/page.html',
17 context => $ctx,
18 vars => {
19 'form@action' => $ctx->rebase_url('login/submit'),
20 },
21 );
22 }
23  
24 1;
25  
26 __END__