...
|
...
|
@@ -21,7 +21,7 @@ |
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-content" data-rule="required" class="form-control" name="row[content]" type="number" value="{$row.content|htmlentities}">
|
|
|
<input id="c-content" data-rule="required" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -110,6 +110,17 @@ |
|
|
<input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">是否可用:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input data-rule="required" name="row[status]" type="hidden" value="false" />
|
|
|
{if $row.status== 'true' }
|
|
|
<input id="c-status" data-rule="required" name="row[status]" type="checkbox" checked="checked" value="true" />
|
|
|
{else}
|
|
|
<input id="c-status" data-rule="required" name="row[status]" type="checkbox" value="true" />
|
|
|
{/if}
|
|
|
</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">
|
...
|
...
|
|