[if {custom_fields}]
  <h3 style="margin-top:20px">Доп. поля</h3>
  [foreach var="custom_fields" as="cf"]
    <div class="form-group">
      <label>{cf.label}[if {cf.is_required}] *[/if]</label>
      {cf.html|raw}
      [if {cf.help}]<small class="help">{cf.help}</small>[/if]
    </div>
  [/foreach]
[/if]
