|
|
<form id="edit-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">{:__('Goods_name')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-goods_name" data-rule="required" class="form-control" name="row[goods_name]" type="text" value="{$row.goods_name|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('广告类型')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
|
|
|
<div class="radio">
|
|
|
{foreach name="typeList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
|
|
|
<label class="type" for="row[type]-{$key}"><input class="type" id="row[type]-{$key}" name="row[type]" type="radio" value="{$key}" {in name="key" value="$row['type']"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Video')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-video" class="form-control" name="row[video]" type="text" value="{$row.video|htmlentities}">
|
|
|
<input id="c-goods_name" data-rule="required" class="form-control" name="row[goods_name]" type="text" value="{$row.goods_name}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Voice')}:</label>
|
|
|
<div class="form-group video" style="display: none;">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Video')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-voice" class="form-control" name="row[voice]" type="text" value="{$row.voice|htmlentities}">
|
|
|
<!--<input id="c-video" class="form-control" name="row[video]" type="text">-->
|
|
|
<div class="input-group">
|
|
|
<input id="c-video" class="form-control" size="50" name="row[video]" type="text" value="{$row.video}">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
<span><button type="button" id="plupload-video" class="btn btn-danger plupload" data-input-id="c-video" data-mimetype="mp4,avi,flv,wmv" data-multiple="true" data-preview-id="p-video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
<span><button type="button" id="fachoose-video" class="btn btn-primary fachoose" data-input-id="c-video" data-mimetype="mp4,avi,flv,wmv" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
</div>
|
|
|
<span class="msg-box n-right" for="c-video"></span>
|
|
|
</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">{$row.content|htmlentities}</textarea>
|
|
|
<ul class="row list-inline plupload-preview" id="p-video"></ul>
|
|
|
<!--<div class="input-group">
|
|
|
<input id="c-video" class="form-control" size="50" name="row[video]" type="text">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
<span><button type="button" id="plupload-video" class="btn btn-danger plupload" data-input-id="c-video" data-mimetype="mp4,avi,flv,wmv" data-multiple="false" data-preview-id="p-video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
<span><button type="button" id="fachoose-video" class="btn btn-primary fachoose" data-input-id="c-video" data-mimetype="mp4,avi,flv,wmv" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
</div>
|
|
|
<span class="msg-box n-right" for="c-video"></span>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('View_time')}:</label>
|
|
|
<ul class="row list-inline plupload-preview" id="p-video"></ul>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group voice" style="display: none;">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Voice')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-view_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[view_time]" type="text" value="{:$row.view_time?datetime($row.view_time):''}">
|
|
|
<!--<input id="c-voice" class="form-control" name="row[voice]" type="text">-->
|
|
|
<div class="input-group">
|
|
|
<input id="c-voice" class="form-control" size="50" name="row[voice]" type="text" value="{$row.voice}">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
<span><button type="button" id="plupload-voice" class="btn btn-danger plupload" data-input-id="c-voice" data-mimetype="mp3" data-multiple="true" data-preview-id="p-voice"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
<span><button type="button" id="fachoose-voice" class="btn btn-primary fachoose" data-input-id="c-voice" data-mimetype="mp3" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
</div>
|
|
|
<span class="msg-box n-right" for="c-voice"></span>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
|
|
|
<ul class="row list-inline plupload-preview" id="p-voice"></ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group content2">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$row.start_time?datetime($row.start_time):''}">
|
|
|
<textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content}</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
|
|
|
<div class="form-group view_time">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('最短观看时间')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
|
|
|
<input id="c-view_time" class="form-control" name="row[view_time]" type="number" value="{$row.view_time}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('限制性别')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-sex" class="form-control selectpicker" name="row[sex]">
|
|
|
<div class="radio">
|
|
|
{foreach name="sexList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.sex"}selected{/in}>{$vo}</option>
|
|
|
<label for="row[sex]-{$key}"><input id="row[sex]-{$key}" name="row[sex]" type="radio" value="{$key}" {in name="key" value="$row['sex']"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Min_age')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-min_age" class="form-control" name="row[min_age]" type="number" value="{$row.min_age|htmlentities}">
|
|
|
<input id="c-min_age" class="form-control" name="row[min_age]" type="number" value="{$row.min_age}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Max_age')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-max_age" class="form-control" name="row[max_age]" type="number" value="{$row.max_age|htmlentities}">
|
|
|
<input id="c-max_age" class="form-control" name="row[max_age]" type="number" value="{$row.max_age}">
|
|
|
</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-area" data-toggle="addresspicker" data-input-id="c-area" data-lat-id="c-latitude" data-lng-id="c-longitude" class="form-control" name="row[area]" value="{$row.area}" type="text" readonly="true">
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}">
|
|
|
<input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<div class='control-relative'><input id="c-city" data-rule="required" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
|
|
|
<input id="c-city" data-rule="required" class="form-control" name="row[city]" type="text">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('County')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-county" data-rule="required" class="form-control" name="row[county]" type="text" value="{$row.county|htmlentities}">
|
|
|
<input id="c-county" data-rule="required" class="form-control" name="row[county]" type="text">
|
|
|
</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">
|
|
|
<input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
|
|
|
</div>
|
|
|
<input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
</div>-->
|
|
|
<div class="form-group hidden" readonly="true">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-longitude" data-rule="required" class="form-control" name="row[longitude]" type="text" value="{$row.longitude|htmlentities}">
|
|
|
<input id="c-longitude" class="form-control" name="row[longitude]" type="text" value="{$row.longitude}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="form-group hidden" readonly="true">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-latitude" data-rule="required" class="form-control" name="row[latitude]" type="text" value="{$row.latitude|htmlentities}">
|
|
|
<input id="c-latitude" class="form-control" name="row[latitude]" type="text" value="{$row.latitude}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Distance')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-distance" class="form-control" name="row[distance]" type="number" value="{$row.distance|htmlentities}">
|
|
|
<input id="c-distance" class="form-control" name="row[distance]" type="number" value="{$row.distance}">
|
|
|
<p class="text-warning">0为不限</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-url" class="form-control" name="row[url]" type="text" value="{$row.url|htmlentities}">
|
|
|
<input id="c-start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[start_time]" type="text" value="{:date('Y-m-d',$row['start_time'])}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</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="$row.status"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
<input id="c-end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[end_time]" type="text" value="{:date('Y-m-d',$row['end_time'])}">
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-url" class="form-control" name="row[url]" type="text" value="{$row.url}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Exp')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-exp" data-rule="required" class="form-control" name="row[exp]" type="number" value="{$row.exp|htmlentities}">
|
|
|
<input id="c-exp" class="form-control" name="row[exp]" type="number" value="{$row.exp}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<!--<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('View')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-view" class="form-control" name="row[view]" type="number" value="{$row.view|htmlentities}">
|
|
|
</div>
|
|
|
<input id="c-view" class="form-control" name="row[view]" type="number" value="0">
|
|
|
</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" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
|
|
|
<input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images}">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
<span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" 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>
|
...
|
...
|
@@ -165,57 +187,84 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('User_is_up')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('商户端上架状态')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-user_is_up" class="form-control selectpicker" name="row[user_is_up]">
|
|
|
<div class="radio">
|
|
|
{foreach name="userIsUpList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.user_is_up"}selected{/in}>{$vo}</option>
|
|
|
<label for="row[user_is_up]-{$key}"><input id="row[user_is_up]-{$key}" name="row[user_is_up]" type="radio" value="{$key}" {in name="key" value="$row.user_is_up"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Admin_is_up')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('管理端上架状态')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-admin_is_up" class="form-control selectpicker" name="row[admin_is_up]">
|
|
|
<div class="radio">
|
|
|
{foreach name="adminIsUpList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.admin_is_up"}selected{/in}>{$vo}</option>
|
|
|
<label for="row[admin_is_up]-{$key}"><input id="row[admin_is_up]-{$key}" name="row[admin_is_up]" type="radio" value="{$key}" {in name="key" value="$row.admin_is_up"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('User_deletetime')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-user_deletetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[user_deletetime]" type="text" value="{:$row.user_deletetime?datetime($row.user_deletetime):''}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Admin_deletetime')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-admin_deletetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[admin_deletetime]" type="text" value="{:$row.admin_deletetime?datetime($row.admin_deletetime):''}">
|
|
|
</div>
|
|
|
|
|
|
<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="$row.status"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Question')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<textarea id="c-question" class="form-control " rows="5" name="row[question]" cols="50">{$row.question|htmlentities}</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--<a href="" title="添加" class="dialogit">添加</a>-->
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('题')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-area" class="form-control" name="row[area]" type="text" value="{$row.area|htmlentities}">
|
|
|
<!--<a href="" title="添加" class="dialogit btn btn-success btn-embossed">添加</a>-->
|
|
|
<!--<div id="toolbar" class="toolbar">
|
|
|
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('question/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
|
|
|
</div>
|
|
|
<table id="table" class="table table-striped table-bordered table-hover table-nowrap">
|
|
|
|
|
|
</table>-->
|
|
|
<dl class="fieldlist" data-template="questiontpl" data-name="row[question]">
|
|
|
<dd>
|
|
|
<ins>{:__('问题类型')}</ins>
|
|
|
<ins>{:__('问题')}</ins>
|
|
|
<ins>{:__('正确答案')}</ins>
|
|
|
<ins>{:__('选项')}<span class="text-warning">多个选项使用英文格式逗号隔开</span></ins>
|
|
|
</dd>
|
|
|
<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
|
|
|
<!--请注意 dd和textarea间不能存在其它任何元素,实际开发中textarea应该添加个hidden进行隐藏-->
|
|
|
<textarea name="row[question]" class="form-control hidden" cols="30" rows="5">{$row.question}</textarea>
|
|
|
</dl>
|
|
|
<script id="questiontpl" type="text/html">
|
|
|
<dd class="form-inline">
|
|
|
<ins>
|
|
|
<select class="form-control" data-live-search="true" name="<%=name%>[<%=index%>][question_type]" style="width: 100%">
|
|
|
<option value="" >请选择</option>
|
|
|
<option value="2" <%if(row.question_type==2){%>selected<%}%> >选择题</option>
|
|
|
<option value="1" <%if(row.question_type==1){%>selected<%}%> >填空题</option>
|
|
|
</select>
|
|
|
</ins>
|
|
|
<ins><input type="text" name="<%=name%>[<%=index%>][question_name]" class="form-control" value="<%=row.question_name%>" placeholder="问题"/></ins>
|
|
|
<ins><input type="text" name="<%=name%>[<%=index%>][question_answer]" class="form-control" value="<%=row.question_answer%>" placeholder="正确答案"/></ins>
|
|
|
<ins><input type="text" name="<%=name%>[<%=index%>][option]" class="form-control" value="<%=row.option%>" placeholder="选项"/></ins>
|
|
|
<!--下面的两个按钮务必保留-->
|
|
|
<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>-->
|
|
|
</dd>
|
|
|
</script>
|
|
|
</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-success btn-embossed disabled">{:__('OK')}</button>
|
|
|
<!--<input type="hidden" name="ids" value="{$row.id}"/>-->
|
|
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
|