{$static_classes_props = 'site-block-form style-wrapper f-w'} {$form_type = $data->data['form_type']|default:''} {* if app not installed or not enabled - show empty block *} {if $form_type == 'mailer' && !$wa->mailer} {$html = ''} {elseif $form_type == 'crm' && !$wa->crm} {$html = ''} {elseif $form_type == 'helpdesk' && !$wa->helpdesk} {$html = ''} {else} {$html = ifset($data->data, 'html', '')} {/if} {$default_empty_image_url = "`$wa_app_static_url`img/form-background.svg"} {if $is_backend}
{/if} {$anchor_id = $data->data['id']|default:0}
{if empty($html)}
{/if}
{if $is_backend}{$wa->site->sanitizeHTML($html)}{else}{$html}{/if}
{if $is_backend} {else} {/if}