[% USE DataPrinter; # DataPrinter.dump_html(routes) %]
[% META title = 'Routes List' %]
<!-- BEGIN [% component.name %] -->
[% # PROCESS dumper.tt dump = records %]
<div class="container">
<div class="row">
<legend class="form-file-upload-heading">
Routes List
</legend>
</div>
<div class="row">
<div class="span12">
<span class="pull-right">
<a href="[%# request.uri_for_route('home') %]">« return</a>
</span>
<table class="table table-bordered table-striped table-condensed">
<tr>
<th>Method</th>
<th>Route Name</th>
<th>Route Path</th>
</tr>
[% FOREACH route IN routes %]
<tr>
<td>[% route.method %]</td>
<td>[% route.name %]</td>
<td>[% route.path %]</td>
</tr>
[% END %]
</table>
</div>
</div>
</div>
<!-- END [% component.name %] -->