% title 'Latest crashs';
% layout 'main';
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
<thead>
<tr>
<th>Product</th>
<th>Version</th>
<th>UserID</th>
<th>UUID</th>
<th>Date</th>
</tr>
</thead>
% foreach my $crash(@$files) {
%= t tr => begin
%= t td => $crash->{product}
%= t td => $crash->{version}
%= t td => $crash->{user}
%= t td => (style => "font-family:monospace;") => begin
%= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid})
% end
%= t td => $crash->{date}->strftime("%F %T")
% end
% }
% end
% if($pager->first_page != $pager->last_page) {
%= bootstrap_pagination($pager->current_page, $pager->last_page);
% }