Skip to content

Instantly share code, notes, and snippets.

@sinkovsky
Created December 25, 2010 14:25
Show Gist options
  • Save sinkovsky/754892 to your computer and use it in GitHub Desktop.
Save sinkovsky/754892 to your computer and use it in GitHub Desktop.
% layout 'default', page_title=>'Администрирование';
<%= include 'admin/menu', active => 'reports' %>
<h2>Список отчетов</h2>
<% for my $report ( @$reports ) { %>
<h3> <%= $report->{name} %> </h3>
<% } %>
<a href="<%= url_for 'add_report' %>">Добавить отчет</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment