% layout 'admin';
% title 'Feedback';
% content_for javascript => begin
% end
% if ( my $error = flash 'error' ) {
Error! <%= $error %>
% } elsif ( my $success = flash 'success' ) {
Success! <%= $success %>
% }
% for my $feedback ( $feedback_rs->all ) {
%= format_human_datetime $feedback->submitted_at;
<%= truncate_text $feedback->feedbacktext => 50; %>
% }
%= bootstrap_pagination( $c->param('page') || 1, $feedback_rs->pager->last_page, { class => 'justify-content-center' } );