Change to use loop in templates instead of control

This commit is contained in:
Ryan O'Hara 2013-04-16 10:00:42 +12:00
parent 1b6c76b405
commit 2c96aada8a

View File

@ -1,4 +1,4 @@
<% if Documents %> <% if Documents %>
<div><h3>Documents:</h3></div> <div><h3>Documents:</h3></div>
<% control Documents %><% include Document %><% end_control %> <% loop Documents %><% include Document %><% end_loop %>
<% end_if %> <% end_if %>