{if $features}
{foreach $features as $key=>$f}
{* Название свойства *}
<div class="h5 bg-info p-x-1 p-y-05" data-feature="{$f->id}">{$f->name}</div>
<div class="m-b-2 p-x-05">
{* Сброс всех свойств *}
<div>
<label class="c-input c-checkbox">
<input onchange="window.location.href='{furl params=[$f->url=>null, page=>null]}'" type="checkbox"{if !$smarty.get.$key} checked{/if}/>
<span class="c-indicator"></span>
<span data-language="{$translate_id['features_all']}">{$lang->features_all}</span>
</label>
</div>
{* Значения свойств *}
{foreach $f->options as $o}
<div>
<label class="c-input c-checkbox">
<input onchange="window.location.href='{furl params=[$f->url=>$o->translit, page=>null]}'" type="checkbox"{if $smarty.get.{$f@key} && in_array($o->translit,$smarty.get.{$f@key})} checked{/if}/>
<span class="c-indicator"></span>
{$o->value|escape}
</label>
</div>
{/foreach}
</div>
{/foreach}
{/if}