rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/smarty

13 lines
256 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
{foo bar='single quotes' baz="double quotes" test3=$test3}
<ul>
{foreach from=$myvariable item=data}
<li>{$data.field}</li>
{foreachelse}
<li>No Data</li>
{/foreach}
</ul>
<div class="{if $foo}class1{else}class2{/if}">{$foo.bar.baz}</div>