作者 王智

daima

... ... @@ -22,7 +22,7 @@
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="col-xs-12 col-sm-8" data-toggle="addresspicker" data-input-id="c-address" data-lat-id="c-lat" data-lng-id="c-lng">
<input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
</div>
</div>
... ... @@ -44,16 +44,16 @@
<input id="c-order" data-rule="required" class="form-control" name="row[order]" type="number" value="{$row.order|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Talk_num')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-talk_num" data-rule="required" class="form-control" name="row[talk_num]" type="number" value="{$row.talk_num|htmlentities}">
</div>
</div>
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Talk_num')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
<!--<input id="c-talk_num" data-rule="required" class="form-control" name="row[talk_num]" type="number" value="{$row.talk_num|htmlentities}">-->
<!--</div>-->
<!--</div>-->
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Opentime')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-opentime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[opentime]" type="text" value="{:$row.opentime?datetime($row.opentime):''}">
<input id="c-opentime" data-rule="required" class="form-control" name="row[opentime]" type="text" value="{$row.opentime|htmlentities}">
</div>
</div>
<div class="form-group">
... ... @@ -71,15 +71,21 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Is_show')}:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-is_show" data-rule="required" class="form-control selectpicker" name="row[is_show]">
{foreach name="isShowList" item="vo"}
<option value="{$key}" {in name="key" value="$row.is_show"}selected{/in}>{$vo}</option>
<option value="{$key}" {in name="key" value="$row.is_show"}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
<!--<input id="c-weight" data-rule="required" class="form-control" name="row[weight]" type="text" value="{$row.weight|htmlentities}">-->
<!--</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">
... ...