grant.html
1.6 KB
<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">优惠券:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-ticket_id" data-rule="required" data-source="ticket/index" data-field="ch_name" class="form-control selectpage" name="row[ticket_id]" type="text" value="">
</div>
</div>
<div class="form-group type">
<label class="control-label col-xs-12 col-sm-2">类型:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-type" class="form-control selectpicker" name="row[type]">
{foreach name="selectTypeList" item="vo"}
<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group user" style="display: none">
<label class="control-label col-xs-12 col-sm-2">选择用户:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-user_ids" data-source="user/user/index" data-multiple="true" data-field="nickname" class="form-control selectpage" name="row[user_ids]" type="text" value="">
</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>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>