correct num_labels if smaller than data range
[MojoFacets.git] / templates / admin.html.ep
1 <div class=admin>
2
3 <a href="<%= url_for( action => 'index' ) %>">load</a>
4 <a href="<%= url_for( action => 'columns' ) %>">columns</a>
5 items:
6 % foreach my $show ( glob 'templates/data/items/*.html.ep' ) {
7 %  $show =~ s{^.+/([^/]+)\.html\.ep$}{$1};
8 %  my $class = session('show') eq $show ? 'class=active' : '';
9 <a href="<%= url_for( action => 'items' )->query( show => $show ) %>" <%= $class %>><%= $show %></a>
10 % }
11 </div>
12