radio.html 746 B

1234567891011121314
  1. <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" id="form_group_{$form.name}">
  2. <div class="col-xs-12 label-title" for="{$form.name}" style="margin-bottom: 14px;">{$form.title|htmlspecialchars}</div>
  3. <div class="col-xs-12">
  4. {volist name="form.extra" id="option"}
  5. <label class="pr10">
  6. <input type="radio" data-toggle="icheck" name="{$form.name}" id="{$form.name}{$i}" value="{$key}" {php}$key = (string)$key;{/php} {eq name="key" value="$form.value|default=''"}checked{/eq} {$form.attr|default=''}>
  7. {$option|htmlspecialchars}
  8. </label>
  9. {/volist}
  10. {notempty name="form.tips"}
  11. <div class="help-block">{$form.tips}</div>
  12. {/notempty}
  13. </div>
  14. </div>