Commit 53823284 authored by Michael Witrant's avatar Michael Witrant

slice amendments

parent 30650a96
<% amendments.each do |amendment| -%>
=== Amendment <%= amendment.num %> ===
<% amendments.each_slice(10) do |slice| -%>
=== Amendments <%= slice.first.num %> - <%= slice.last.num %> ===
<% slice.each do |amendment| -%>
==== Amendments <%= amendment.num %> ====
{| border="1" style="border-spacing:0;" cellpadding="3" width="100%"
|-
! colspan="2" style="background-color: lightgrey;" |
......@@ -19,3 +21,4 @@ Comments:
|}
<% end -%>
<% end -%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment