//A/a代表字段名
<
div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-a" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[a]" 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">{:__('A')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-a" data-ranges="" data-rule="required" class="form-control datetimerange" name="row[a]" type="text" value="{:date('Y-m-d 00:00:00')} - {:date('Y-m-d 23:59:59')}" readonly="readonly"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A')}:</label> <div class="col-xs-12 col-sm-8"> <dl class="fieldlist" data-name="row[a]"> <dd> <ins>{:__('A name')}</ins> <ins>{:__('A value')}</ins> </dd> <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd> <textarea id="c-a" data-rule="required" class="form-control hide" rows="5" name="row[a]" cols="50"></textarea> </dl> </div> </div>
01-21 19:24