mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8513 from dizzystuff/8512-compfield-colcount-fix
FIX: Adding $Up. prefix to $ColumnCount references within $Fieldlist loops
This commit is contained in:
commit
360c098f5d
@ -1,6 +1,6 @@
|
||||
<% loop $FieldList %>
|
||||
<% if $ColumnCount %>
|
||||
<div class="column-{$ColumnCount} $FirstLast">
|
||||
<% if $Up.ColumnCount %>
|
||||
<div class="column-{$Up.ColumnCount} $FirstLast">
|
||||
$FieldHolder
|
||||
</div>
|
||||
<% else %>
|
||||
|
@ -4,8 +4,8 @@
|
||||
<% end_if %>
|
||||
|
||||
<% loop $FieldList %>
|
||||
<% if $ColumnCount %>
|
||||
<div class="column-{$ColumnCount} $FirstLast">
|
||||
<% if $Up.ColumnCount %>
|
||||
<div class="column-{$Up.ColumnCount} $FirstLast">
|
||||
$SmallFieldHolder
|
||||
</div>
|
||||
<% else %>
|
||||
|
Loading…
Reference in New Issue
Block a user