mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Change to use loop in templates instead of control
This commit is contained in:
parent
1b6c76b405
commit
2c96aada8a
@ -1,4 +1,4 @@
|
||||
<% if Documents %>
|
||||
<div><h3>Documents:</h3></div>
|
||||
<% control Documents %><% include Document %><% end_control %>
|
||||
<% loop Documents %><% include Document %><% end_loop %>
|
||||
<% end_if %>
|
Loading…
Reference in New Issue
Block a user