DiverseYouthNightSchool/application/admin/view/xilufitness/course/cate/add.html

34 lines
1.7 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">{:__('Pid')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pid" min="0" placeholder="顶级分类不用选择" class="form-control selectpage" data-source="xilufitness/course/cate" data-field="cate_name" name="row[pid]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Cate_name')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-cate_name" placeholder="请输入" data-rule="required" class="form-control" name="row[cate_name]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</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="normal"}checked{/in} /> {$vo}</label>
{/foreach}
</div>
</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>