{if $channel->getId()}
{$_template = $channel->getParams('template')|default:[]}

{$templates_list[$template_id]}

[s`Sender`]
{$channel->getAddress()|escape}

{sprintf('[`Change sender address for entire template group`]', 'js-inline-settings-link')}

{* Subject *}
[s`Letter subject`]
{* Text *}
[s`Text of the letter`]

HTML + Smarty

{* Default template *}

[s`Restore default text`]

isMobile()} style="overflow-x: scroll;"{/if}>
isMobile()} style="overflow-x: scroll; min-width: max-content; padding: 0 1rem;"{/if}>
{* Save *} {* Cancel *} [s`or`] [s`cancel`]
{* Check sending *} {* Cheat sheet *}
{else}
{if !empty($channels)} [s`Templates not found`] {else} [s`No templates`] {/if}
{/if}