<td colspan="2" align="center">
    <h2>{$params_tpl['title']}{$params_tpl['help']}</h2>
    <div style="display: flex; flex-direction: column;" id="source-{$tpl_num}">{$tpl_types['source']}</div>
    <div style="display: flex; flex-direction: column;" id="result-{$tpl_num}">{$tpl_types['result']}</div>
    <div style="display: flex; flex-direction: column;" id="result-{$tpl_num}">{$tpl_types['count']}</div>
    <div style="display: flex; flex-direction: column;" id="result-{$tpl_num}">{$tpl_types['end_sentence']}</div>
</td>

<script>
    (function() {
        $('input[name="calc_params[{$tpl_num}][count]"]').attr("type", "number");
    })();
</script>
