view app/views/common/_file.rhtml @ 849:7018aa84e3a8 feature_36

Close obsolete branch feature_36
author Chris Cannam
date Sat, 24 Sep 2011 18:15:01 +0100
parents 513646585e45
children
line wrap: on
line source
<div class="autoscroll">
<table class="filecontent syntaxhl">
<tbody>
<% line_num = 1 %>
<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
<% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>