444 lines
24 KiB
HTML
444 lines
24 KiB
HTML
<form id="add-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">{:__('Manystore_id')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-manystore_id" data-rule="required" data-source="manystore/index" data-field="id" class="form-control selectpage" name="row[manystore_id]" type="text" value="">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-shop_id" data-rule="required" data-source="dyqc/manystore_shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="{$q_shop_id}">
|
|
|
|
|
|
<span style="color: red">
|
|
|
|
(没找到机构则点击按钮创建机构后重新下拉框选机构)
|
|
<a href="javascript:;" data-url="manystore/index/add" class="btn btn-success btn-changeuser {:$auth->check('manystore/index/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('讲师id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-teacher_id" data-rule="required" data-source="school/classes/teacher/index" data-field="name" class="form-control selectpage" name="row[teacher_id]" type="text" value="{$q_teacher_id}">
|
|
|
|
<span style="color: red">
|
|
|
|
(没找到讲师则点击按钮创建讲师后重新下拉框选讲师)
|
|
<a href="javascript:;" data-url="school/classes/teacher/add?shop_id={$q_shop_id}" class="btn btn-success btn-changeuser {:$auth->check('school/classes/teacher/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('类型')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_type" data-rule="required" data-source="school/classes/type/index" data-params='{"custom[status]":"1"}' class="form-control selectpage" name="row[classes_type]" type="text" value="">
|
|
|
|
<span style="color: red">
|
|
(没找到类型则点击按钮创建类型后重新下拉框选类型)
|
|
<a href="javascript:;" data-url="school/classes/type/index" class="btn btn-success btn-changeuser {:$auth->check('school/classes/type/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_cate_ids')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_cate_ids" data-rule="required" data-max-select-limit="3" data-source="school/classes/cate/index" data-params='{"custom[status]":"1"}' data-multiple="true" class="form-control selectpage" name="row[classes_cate_ids]" type="text" value="">
|
|
|
|
<span style="color: red">
|
|
(没找到{:__('Classes_cate_ids')}则点击按钮创建{:__('Classes_cate_ids')}后重新下拉框选{:__('Classes_cate_ids')})
|
|
<a href="javascript:;" data-url="school/classes/cate/index" class="btn btn-success btn-changeuser {:$auth->check('school/classes/cate/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_label_ids')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_label_ids" data-source="school/classes/label/index" data-max-select-limit="3" data-multiple="true" data-params='{"custom[status]":"1"}' class="form-control selectpage" name="row[classes_label_ids]" type="text" value="">
|
|
|
|
<span style="color: red">
|
|
(没找到{:__('Classes_label_ids')}则点击按钮创建{:__('Classes_label_ids')}后重新下拉框选{:__('Classes_label_ids')})
|
|
<a href="javascript:;" data-url="school/classes/label/index" class="btn btn-success btn-changeuser {:$auth->check('school/classes/label/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Self_label_tag')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-self_label_tag" class="form-control" data-role="tagsinput" data-max-select-limit="3" name="row[self_label_tag]" type="text">
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Add_type')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- -->
|
|
<!-- <select id="c-add_type" class="form-control selectpicker" name="row[add_type]">-->
|
|
<!-- {foreach name="addTypeList" item="vo"}-->
|
|
<!-- <option value="{$key}" {in name="key" value="2"}selected{/in}>{$vo}</option>-->
|
|
<!-- {/foreach}-->
|
|
<!-- </select>-->
|
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Add_id')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-add_id" data-rule="required" data-source="add/index" class="form-control selectpage" name="row[add_id]" type="text" value="">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-title" class="form-control" data-rule="required" name="row[title]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Headimage')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-headimage" class="form-control" data-rule="required" size="50" name="row[headimage]" type="text">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="faupload-headimage" class="btn btn-danger faupload" data-input-id="c-headimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-headimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
<span><button type="button" id="fachoose-headimage" class="btn btn-primary fachoose" data-input-id="c-headimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-headimage"></span>
|
|
</div>
|
|
<ul class="row list-inline faupload-preview" id="p-headimage"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-images" class="form-control" data-rule="required" size="50" name="row[images]" type="text">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
<span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-images"></span>
|
|
</div>
|
|
<ul class="row list-inline faupload-preview" id="p-images"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-type" class="form-control selectpicker" name="row[type]">
|
|
{foreach name="typeList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="in"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_num')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_num" {$classes_number_only_one ? 'disabled' : ''} class="form-control" data-rule="required" name="row[classes_num]" type="number" value="1">
|
|
<span style="color: red">(填写几节意味着客户购买课程后能预约上课核销几次,即购买本课程的课程节数)</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('所有课时信息')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<table class="table table-responsive fieldlist" data-name="row[spec]" data-template="testtpl" data-tag="tr">
|
|
<tr>
|
|
<td>每节课名</td>
|
|
<td>开始结束时间</td>
|
|
<td>限定人数</td>
|
|
<!-- <td>权重</td>-->
|
|
<td>上架状态</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5"><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a></td>
|
|
</tr>
|
|
<textarea name="row[spec]" id="spec" class="form-control hide" cols="30" rows="5">[{"name":"{:date('m-d号')} 上午课(名师巡讲!)","time":"{:date('Y/m/d 0:01')} - {:date('Y/m/d H:i')}","limit_num":"30","weigh":"0","status":"1"}]</textarea>
|
|
</table>
|
|
<span style="color: red">(每个课时规格为当前课程的一节课,课程总共多少节课就需要上多少个课时规格,每个课时的开始和结束时间不能有重叠,单节课开始结束时间必须在同一天,后续有变更将触发审核机制!)</span>
|
|
<!--定义模板-->
|
|
<script type="text/html" id="testtpl">
|
|
<tr class="form-inline">
|
|
<td><input type="text" name="row[<%=name%>][<%=index%>][name]" data-rule="required" class="form-control" value="<%=row['name']%>" size="25" placeholder="课时名"></td>
|
|
<td>
|
|
<input type="text" name="row[<%=name%>][<%=index%>][time]" data-rule="required" class="form-control datetimerange" data-time-picker="true" data-locale='{"format":"YYYY/MM/DD HH:mm"}' placeholder="指定开始结束时间" value="<%=row['time']%>" size="35" />
|
|
<!--<input type="text" class="form-control datetimerange" name="updatetime" value="" placeholder="修改时间" id="updatetime" data-index="49" autocomplete="off">-->
|
|
|
|
</td>
|
|
<td><input type="text" name="row[<%=name%>][<%=index%>][limit_num]" data-rule="required" class="form-control" value="<%=row['limit_num']%>" placeholder="课时限制人数" size="2" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"></td>
|
|
<!-- <td><input type="text" name="row[<%=name%>][<%=index%>][weigh]" data-rule="required" class="form-control" value="<%=row['weigh']%>" size="2" placeholder="课时排序权重" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"></td>-->
|
|
<td>
|
|
<select id="c-status" class="form-control" name="row[<%=name%>][<%=index%>][status]">
|
|
{foreach name="specStatusList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="<%=row['status']%>"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
<td><span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span> <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span></td>
|
|
</tr>
|
|
</script>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Address_type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="radio">
|
|
{foreach name="addressTypeList" item="vo"}
|
|
<label for="row[address_type]-{$key}"><input id="row[address_type]-{$key}" name="row[address_type]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
|
|
{/foreach}
|
|
<span style="color: red">( 如果选独立位置需填写具体位置信息! )</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="c_position">
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Address_city')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class='control-relative'>
|
|
<input id="c-address_city" class="form-control form-control" data-toggle="city-picker" name="row[address_city]" value="{$q_address_city}" type="text">
|
|
</div>
|
|
<input type="hidden" id="province" name="row[province]" value="{$q_province_code}" >
|
|
<input type="hidden" id="city" name="row[city]" value="{$q_city_code}" >
|
|
<input type="hidden" id="district" name="row[district]" value="{$q_area_code}" >
|
|
</div>
|
|
</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='control-relative'>
|
|
<input id="c-address" class="form-control form-control"
|
|
data-lat-id="c-latitude" data-lng-id="c-longitude" readonly data-input-id="c-address" data-toggle="addresspicker" name="row[address]" value="" type="text" placeholder="请地图选址。如调起地图失败请检查插件《地图位置(经纬度)选择》是否安装">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Address_detail')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-address_detail" class="form-control" name="row[address_detail]" type="text" value="" placeholder="请输入{:__('Address_detail')}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
|
|
<div class="col-xs-12 col-sm-3">
|
|
<input id="c-longitude" readonly class="form-control" name="row[longitude]" type="text" value="">
|
|
</div>
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
|
|
<div class="col-xs-12 col-sm-3">
|
|
<input id="c-latitude" readonly class="form-control" name="row[latitude]" type="text" value="">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_date_text')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_date_text" class="form-control" name="row[classes_date_text]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_time_text')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_time_text" class="form-control" name="row[classes_time_text]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Notice')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-notice" class="form-control editor" rows="5" name="row[notice]" cols="50"></textarea>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Virtual_num')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-virtual_num" class="form-control" name="row[virtual_num]" type="number">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
|
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('虚拟参与人数')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-virtual_people" class="form-control" name="row[virtual_people]" type="number">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Sale')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-sale" class="form-control" name="row[sale]" type="number">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-price" class="form-control" step="0.01" name="row[price]" type="number">
|
|
<span style="color: red">( 如果填零则为免费课程,课程下单后无需支付,直接可去预约课时! )</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Underline_price')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-underline_price" class="form-control" step="0.01" name="row[underline_price]" type="number">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Virtual_collect')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-virtual_collect" class="form-control" name="row[virtual_collect]" type="number" value="0">
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- -->
|
|
<!-- <div class="radio">-->
|
|
<!-- {foreach name="statusList" item="vo"}-->
|
|
<!-- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> -->
|
|
<!-- {/foreach}-->
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Auth_status')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- -->
|
|
<!-- <div class="radio">-->
|
|
<!-- {foreach name="authStatusList" item="vo"}-->
|
|
<!-- <label for="row[auth_status]-{$key}"><input id="row[auth_status]-{$key}" name="row[auth_status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label> -->
|
|
<!-- {/foreach}-->
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-reason" class="form-control" name="row[reason]" type="text" value="">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Auth_time')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- <input id="c-auth_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[auth_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Recommend')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-recommend" class="form-control selectpicker" name="row[recommend]">
|
|
{foreach name="recommendList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Hot')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-hot" class="form-control selectpicker" name="row[hot]">
|
|
{foreach name="hotList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('New')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-new" class="form-control selectpicker" name="row[new]">
|
|
{foreach name="newList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Selfhot')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-selfhot" class="form-control selectpicker" name="row[selfhot]">
|
|
{foreach name="selfhotList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</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-primary btn-embossed disabled">{:__('OK')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|