46 lines
2.5 KiB
HTML
46 lines
2.5 KiB
HTML
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
<input type="hidden" name="row[brand_id]" value="{$row.brand_id|htmlentities}"/>
|
|
<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" readonly min="0" data-source="xilufitness/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
|
|
</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" readonly class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Meet_amount')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-meet_amount" readonly class="form-control" name="row[meet_amount]" type="number" value="{$row.meet_amount|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Discount_amount')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-discount_amount" readonly class="form-control" name="row[discount_amount]" type="number" value="{$row.discount_amount|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Expire_time')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-expire_time" readonly class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[expire_time]" type="text" value="{:$row.expire_time?datetime($row.expire_time):''}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Coupon_status')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
{:Form::radios("row[coupon_status]",$statusList,$row.coupon_status,['disabled' => true])}
|
|
</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>
|