#macro dictionaryTree dictionaryId parentValue depth>
<#if depth gte 0>
<@cms.dictionaryDataList dictionaryId=dictionaryId parentValue=parentValue>
@cms.dictionaryDataList>
#if>
#macro>
<@cms.dictionary id=id>
- <@t.page 'dictionary.edit'/>
<#if object.childDepth gt 0>
<@cms.dictionaryDataList dictionaryId=object.id.id>
<#list list as d>
-
${d.id.value}:${d.text}
<@dictionaryTree dictionaryId=id parentValue=d.id.value depth=object.childDepth-1/>
#list>
@cms.dictionaryDataList>
#if>
@cms.dictionary>