5 lines
195 B
Smarty
5 lines
195 B
Smarty
|
{{~#if body~}}
|
||
|
<{{tag}}{{#if attributes}} {{{join attributes '=' ' ' '"'}}}{{/if}}>{{{body}}}</{{tag}}>
|
||
|
{{~else~}}
|
||
|
<{{tag}}{{#if attributes}} {{{join attributes '=' ' ' '"'}}}{{/if}} />
|
||
|
{{~/if~}}
|