Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
amendments
Commits
53823284
Commit
53823284
authored
Mar 31, 2013
by
Michael Witrant
Browse files
slice amendments
parent
30650a96
Changes
1
Hide whitespace changes
Inline
Side-by-side
template.erb
View file @
53823284
<%
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
-%>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment