{{if !empty($module_data) and !empty($module_data['key'])}} {{switch $module_data.key}} {{case upload-img}} {{if !empty($module_data['value']) and is_array($module_data['value'])}} {{/if}} {{/case}} {{case upload-video}} {{if !empty($module_data['value']) and is_array($module_data['value'])}} {{/if}} {{/case}} {{case upload-attachments}} {{if !empty($module_data['value']) and is_array($module_data['value'])}} {{/if}} {{/case}} {{case rich-text}}
{{$module_data.value|raw}}
{{/case}} {{case subform}} {{if !empty($module_data['value']) and is_array($module_data['value']) and count($module_data['value']) gt 0}}
{{foreach $module_data['value'][0] as $subhv}} {{/foreach}} {{foreach $module_data['value'] as $subvv}} {{if !empty($subvv) and is_array($subvv)}} {{foreach $subvv as $subvvs}} {{/foreach}} {{/if}} {{/foreach}}
{{$subhv.name}}
{{:ModuleInclude('../../../module/view/form_input/detail_value', $subvvs)}}
{{/if}} {{/case}} {{default /}} {{if isset($module_data['value_text'])}} {{$module_data.value_text}} {{else /}} {{$module_data.value|raw}} {{/if}} {{/switch}} {{/if}}