DiverseYouthNightSchool/application/admin/view/xilufitness/user/user_point/add.html

40 lines
1.9 KiB
HTML

<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<input type="hidden" name="row[brand_id]" id="c-brand_id" value="1"/>
<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" placeholder="请选择" min="0" data-source="xilufitness/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
</div>
<span style="color: red; line-height: 33px;">*</span>
</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" data-rule="required" placeholder="请输入" class="form-control" name="row[title]" type="text">
</div>
<span style="color: red; line-height: 33px;">*</span>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Point')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-point" data-rule="required" min="0" placeholder="请输入" class="form-control" name="row[point]" type="number" value="0">
</div>
<span style="color: red; line-height: 33px;">*</span>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Point_type')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[point_type]",[1 => __('Add_point'), 2 => __('Dec_point')],1)}
</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>