blib/lib/Mojolicious/resources/templates/mojo/command/resources/show.html.ep | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 2069 | % my $a = shift; | |||
1 | 1 | 2 | |||||
1 | 1 | 5 | |||||
1 | 1 | 73 | |||||
1 | 2 | ||||||
1 | 248 | ||||||
1 | 1707 | ||||||
1 | 2 | ||||||
1 | 6 | ||||||
1 | 82 | ||||||
1 | 2 | ||||||
1 | 256 | ||||||
2 | %% layout 'blog', title => 'Record from table <%= $a->{t} %> with id ' . $<%= $a->{t} %>->{id}; | ||||||
3 | <%%= $<%= $a->{t} %>->{id} %> |
||||||
4 | % for my $col (@{$a->{columns}}) { | ||||||
5 | <%%= $<%= $a->{t} %>->{'<%= $col %>'} %> |
||||||
6 | % } | ||||||
7 | %%= link_to 'Edit' => edit_<%= $a->{t} %> => {id => $<%= $a->{t} %>->{id}} |