作者 王智

xiugai

@@ -46,8 +46,7 @@ @@ -46,8 +46,7 @@
46 46
47 <select id="c-sport_type" data-rule="required" class="form-control selectpicker" name="row[sport_type]"> 47 <select id="c-sport_type" data-rule="required" class="form-control selectpicker" name="row[sport_type]">
48 {foreach name="sportTypeList" item="vo"} 48 {foreach name="sportTypeList" item="vo"}
49 - <option value="{$key}" {in name="key" value="$row.sport_type" }selected{  
50 - /in}>{$vo}</option> 49 + <option value="{$key}" {in name="key" value="$row.sport_type" }selected{/in}>{$vo}</option>
51 {/foreach} 50 {/foreach}
52 </select> 51 </select>
53 52
@@ -94,8 +93,7 @@ @@ -94,8 +93,7 @@
94 93
95 <select id="c-eat_type" data-rule="required" class="form-control selectpicker" name="row[eat_type]"> 94 <select id="c-eat_type" data-rule="required" class="form-control selectpicker" name="row[eat_type]">
96 {foreach name="eatTypeList" item="vo"} 95 {foreach name="eatTypeList" item="vo"}
97 - <option value="{$key}" {in name="key" value="$row.eat_type" }selected{  
98 - /in}>{$vo}</option> 96 + <option value="{$key}" {in name="key" value="$row.eat_type" }selected{/in}>{$vo}</option>
99 {/foreach} 97 {/foreach}
100 </select> 98 </select>
101 99
@@ -142,8 +140,7 @@ @@ -142,8 +140,7 @@
142 140
143 <select id="c-body_type" data-rule="required" class="form-control selectpicker" name="row[body_type]"> 141 <select id="c-body_type" data-rule="required" class="form-control selectpicker" name="row[body_type]">
144 {foreach name="bodyTypeList" item="vo"} 142 {foreach name="bodyTypeList" item="vo"}
145 - <option value="{$key}" {in name="key" value="$row.body_type" }selected{  
146 - /in}>{$vo}</option> 143 + <option value="{$key}" {in name="key" value="$row.body_type" }selected{/in}>{$vo}</option>
147 {/foreach} 144 {/foreach}
148 </select> 145 </select>
149 146
@@ -190,8 +187,7 @@ @@ -190,8 +187,7 @@
190 187
191 <select id="c-season_type" data-rule="required" class="form-control selectpicker" name="row[season_type]"> 188 <select id="c-season_type" data-rule="required" class="form-control selectpicker" name="row[season_type]">
192 {foreach name="seasonTypeList" item="vo"} 189 {foreach name="seasonTypeList" item="vo"}
193 - <option value="{$key}" {in name="key" value="$row.season_type" }selected{  
194 - /in}>{$vo}</option> 190 + <option value="{$key}" {in name="key" value="$row.season_type" }selected{/in}>{$vo}</option>
195 {/foreach} 191 {/foreach}
196 </select> 192 </select>
197 193
@@ -238,8 +234,7 @@ @@ -238,8 +234,7 @@
238 234
239 <select id="c-work_type" data-rule="required" class="form-control selectpicker" name="row[work_type]"> 235 <select id="c-work_type" data-rule="required" class="form-control selectpicker" name="row[work_type]">
240 {foreach name="workTypeList" item="vo"} 236 {foreach name="workTypeList" item="vo"}
241 - <option value="{$key}" {in name="key" value="$row.work_type" }selected{  
242 - /in}>{$vo}</option> 237 + <option value="{$key}" {in name="key" value="$row.work_type" }selected{/in}>{$vo}</option>
243 {/foreach} 238 {/foreach}
244 </select> 239 </select>
245 240
@@ -288,8 +283,7 @@ @@ -288,8 +283,7 @@
288 283
289 <select id="c-face_type" data-rule="required" class="form-control selectpicker" name="row[face_type]"> 284 <select id="c-face_type" data-rule="required" class="form-control selectpicker" name="row[face_type]">
290 {foreach name="faceTypeList" item="vo"} 285 {foreach name="faceTypeList" item="vo"}
291 - <option value="{$key}" {in name="key" value="$row.face_type" }selected{  
292 - /in}>{$vo}</option> 286 + <option value="{$key}" {in name="key" value="$row.face_type" }selected{/in}>{$vo}</option>
293 {/foreach} 287 {/foreach}
294 </select> 288 </select>
295 289