<td colspan="2" align="center">
    <h2>{$params_tpl['title']}{$params_tpl['help']}</h2>
    <div style="display: flex; flex-direction: column;">{$tpl_types['sub_table']}</div>
    <div style="display: flex; flex-direction: column;">{$tpl_types['open_form']}</div>
    <div style="display: none; flex-direction: column;">{$tpl_types['res_field']}</div>
</td>
<script>
$('#calc_params_{$tpl_num}_sub_table_subFieldDiv').hide();
</script>