style.html 1.0 KB
<form id="style-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('定制风格模板')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-style_template_id" data-rule="required" class="form-control selectpicker" name="row[style_template_id]">
                {foreach name="style_template_list" item="vo"}
                <option value="{$vo.id}" {in name="vo.id" value="$goods_style['style_template_id']"}selected{/in}>{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>