* adjust code.

This commit is contained in:
wangyidong
2018-09-07 14:10:14 +08:00
parent d45210d7bc
commit fb9e21ffa4
9 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -122,7 +122,7 @@
<?php $i = 0;?>
<?php foreach($products as $product):?>
<?php $plans = zget($productPlans, $product->id, array(0 => ''));?>
<div class="col-sm-4" id="plan<?php echo $i;?>"><?php echo html::select("plans[" . $product->id . "]", $plans, $product->plan, "class='form-control chosen'");?></div>
<div class="col-sm-4" id="plan<?php echo $i;?>"><?php echo html::select("plans[" . $product->id . "]", $plans, '', "class='form-control chosen'");?></div>
<?php $i++;?>
<?php endforeach;?>
<?php else:?>