作者 王智

xiugai

@@ -12,10 +12,9 @@ @@ -12,10 +12,9 @@
12 <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label> 12 <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
13 <div class="col-xs-12 col-sm-8"> 13 <div class="col-xs-12 col-sm-8">
14 14
15 - <select id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]"> 15 + <select id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
16 {foreach name="typeList" item="vo"} 16 {foreach name="typeList" item="vo"}
17 - <option value="{$key}" {in name="key" value="$row.type" }selected{  
18 - /in}>{$vo}</option> 17 + <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
19 {/foreach} 18 {/foreach}
20 </select> 19 </select>
21 20