You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.6 KiB
30 lines
1.6 KiB
1 year ago
|
<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-coupon_id" data-rule="required" data-source="coupon/selectpage" data-primary-key="id" data-field="name" data-max-select-limit="1000"data-multiple="false" class="form-control selectpage" name="row[coupon_id]" type="text" value="" data-order-by="id">
|
||
|
</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">
|
||
|
{:build_radios('row[is_all]', ['1'=>__('是'), '0'=>__('否')], 0)}
|
||
|
</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-owner_id" data-rule="" data-source="user/user/selectpage" data-primary-key="id" data-field="nickname" data-max-select-limit="1000"data-multiple="true" class="form-control selectpage" name="row[owner_id]" type="text" value="" data-order-by="id" data-format-item="{nickname} - <img class='img-sm img-center img-circle' src='{avatar}'> - {mobile}" >
|
||
|
</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>
|