13 lines
1.2 KiB
HTML
13 lines
1.2 KiB
HTML
<div class="form-group col-lg-{$_layout[$form[type].name]['lg']|default='12'} col-md-{$_layout[$form[type].name]['md']|default='12'} col-sm-{$_layout[$form[type].name]['sm']|default='12'} col-xs-{$_layout[$form[type].name]['xs']|default='12'} {$form[type].extra_class|default=''}" id="form_group_{$form[type].name}">
|
|
<label class="col-xs-12" for="{$form[type].name}">{$form[type].title|htmlspecialchars}</label>
|
|
<div class="col-xs-12">
|
|
<div class="input-group js-icon-picker">
|
|
<span class="input-group-addon icon" data-toggle="tooltip" data-placement="bottom" data-original-title="点击选择图标"><i class="{$form[type].value|default='fa fa-plus-circle'}"></i></span>
|
|
<input class="form-control icon_input" type="text" id="{$form[type].name}" name="{$form[type].name}" value="{$form[type].value|default=''}" placeholder="请选择图标" {$form[type].extra_attr|raw|default=''}>
|
|
<span class="input-group-addon delete-icon" data-toggle="tooltip" data-placement="bottom" data-original-title="删除图标"><i class="fa fa-times"></i></span>
|
|
</div>
|
|
{notempty name="form[type].tips"}
|
|
<div class="help-block">{$form[type].tips|raw|clear_js}</div>
|
|
{/notempty}
|
|
</div>
|
|
</div> |