% layout 'standard', title => 'Admin Panel', sb_active => 'admin';
%= include 'admin/_nav', page => 'people'
% if ( my $confirmation = flash 'confirmation' ) {
<%== $confirmation %>
% }
% if ( $c->stash->{success} ) {
<%= $c->stash->{success_message} %>
% }
% if ( $c->stash->{errors} ) {
There were errors with your request that could not be resolved:
% for my $error ( @{$c->stash->{errors}} ) {
- <%= $error %>
% }
% }
% if ( $people ) {
| Name |
Email Address |
Created |
Become User |
% for my $user ( @{$people} ) {
| <%= $user->name %> |
<%= $user->email %> |
<%= $user->created_at->strftime( "%F" ) %> |
|
% }
% }