DiverseYouthNightSchool/application/admin/view/school/classes/visit_distribution/add.html

64 lines
2.9 KiB
HTML
Raw Permalink Normal View History

2025-01-14 17:56:44 +08:00
<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">{:__('Index')}:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-index" class="form-control selectpicker" name="row[index]">
{foreach name="indexList" item="vo"}
<option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Ref_date')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-ref_date" class="form-control" name="row[ref_date]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Key')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-key" class="form-control" name="row[key]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Value')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-value" class="form-control" name="row[value]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Begin_date')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-begin_date" class="form-control" name="row[begin_date]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('End_date')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-end_date" class="form-control" name="row[end_date]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Statistics_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-statistics_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[statistics_time]" type="text" value="{:date('Y-m-d H:i:s')}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Miniapp_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-miniapp_id" data-rule="required" data-source="miniapp/index" class="form-control selectpage" name="row[miniapp_id]" type="text" value="">
</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>