Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: dc3d88fad9
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (22 sloc) 0.632 kB
<% if note? %>
<div class=note>
<%= render self, 'text' %>
</div>
<% else %>
<% case style %>
<% when 'symbols', 'empty' %>
<ul class="<%= style %>"><% for element in elements %>
<li><%= render element %></li>
<% end %></ul>
<% when 'numbers', 'alpha', 'letters', 'format' %>
<ol class="<%= style %>"><% for element in elements %>
<li><%= render element %></li>
<% end %></ol>
<% when 'hanging' %>
<dl><% for element in elements %>
<dt><%== element['hangText'] %></dt>
<dd><%= render element %></dd>
<% end %></dl>
<% else raise "unrecognized list style: #{style.inspect}" %>
<% end %>
<% end %>
Jump to Line
Something went wrong with that request. Please try again.