53 lines
2.7 KiB
HTML
53 lines
2.7 KiB
HTML
<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">{:__('需要生成的数量')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="10">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_lib_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-classes_lib_id" data-rule="required" data-source="school/classes/classes_lib/index" data-field="title" class="form-control selectpage" name="row[classes_lib_id]" type="text" value="{$q_classes_lib_id}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[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">{:__('Jointype')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- -->
|
|
<!-- <select id="c-jointype" class="form-control selectpicker" name="row[jointype]">-->
|
|
<!-- {foreach name="jointypeList" item="vo"}-->
|
|
<!-- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>-->
|
|
<!-- {/foreach}-->
|
|
<!-- </select>-->
|
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="form-group">-->
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Havetype')}:</label>-->
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
<!-- -->
|
|
<!-- <select id="c-havetype" class="form-control selectpicker" name="row[havetype]">-->
|
|
<!-- {foreach name="havetypeList" item="vo"}-->
|
|
<!-- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>-->
|
|
<!-- {/foreach}-->
|
|
<!-- </select>-->
|
|
|
|
<!-- </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-success btn-embossed disabled">{:__('OK')}</button>
|
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|