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

79 lines
4.2 KiB
HTML
Raw Normal View History

2024-11-04 10:49:10 +08:00
<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">{:__('Course_id')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-course_id" placeholder="请选择" data-rule="required" data-source="xilufitness/course/index" data-field="title" class="form-control selectpage" name="row[course_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-shop_id" min="0" placeholder="请选择" data-rule="required" data-source="xilufitness/shop/index" data-field="shop_name" data-multiple="true" class="form-control selectpage" type="text" value="">
</div>
</div>
<div class="form-group" style="display: none;">
<label class="control-label col-xs-12 col-sm-2">{:__('Coach_list')}:</label>
<div class="col-xs-12 col-sm-8" id="coach_list">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Class_time')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
<input id="c-class_time" min="0" placeholder="请选择" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[class_time]" type="text" value="">
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Duration')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-4">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
<input id="c-start_at" placeholder="请选择开始时间" data-rule="required" class="form-control datetimepicker" data-date-format="HH:mm:00" name="row[start_at]" type="text">
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
<input id="c-end_at" placeholder="请选择结束时间" data-rule="required" class="form-control datetimepicker" name="row[end_at]" data-date-format="HH:mm:00" type="text">
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Sign_count')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-sign_count" placeholder="请输入" data-rule="required" class="form-control" name="row[sign_count]" type="number">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Wait_count')}<span style="color: red;">*</span>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-wait_count" placeholder="请输入" data-rule="required" class="form-control" name="row[wait_count]" type="number">
</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>