64 lines
3.1 KiB
HTML
64 lines
3.1 KiB
HTML
<form id="edit-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="$row.index"}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" value="{$row.ref_date|htmlentities}">
|
|
</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" value="{$row.key|htmlentities}">
|
|
</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" value="{$row.value|htmlentities}">
|
|
</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" value="{$row.begin_date|htmlentities}">
|
|
</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" value="{$row.end_date|htmlentities}">
|
|
</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="{:$row.statistics_time?datetime($row.statistics_time):''}">
|
|
</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="{$row.miniapp_id|htmlentities}">
|
|
</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>
|