removed debug output
[MojoFacets.git] / templates / admin.html.ep
1 <div class=admin>
2
3 <a href="<%= url_for( controller => 'data', action => 'index' ) %>">load</a>
4 <a href="<%= url_for( controller => 'data', 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( controller => 'data', action => 'items' )->query( show => $show ) %>" <%= $class %>><%= $show %></a>
10 % }
11
12 <a class=changes href="<%= url_for( controller => 'changes', action => 'index' ) %>">changes</a>
13
14 </div>
15