|
@@ -21,7 +21,7 @@ |
|
@@ -21,7 +21,7 @@ |
21
|
<div class="form-group">
|
21
|
<div class="form-group">
|
22
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
22
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
23
|
<div class="col-xs-12 col-sm-8">
|
23
|
<div class="col-xs-12 col-sm-8">
|
24
|
- <input id="c-content" data-rule="required" class="form-control" name="row[content]" type="number" value="{$row.content|htmlentities}">
|
24
|
+ <input id="c-content" data-rule="required" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
|
25
|
</div>
|
25
|
</div>
|
26
|
</div>
|
26
|
</div>
|
27
|
|
27
|
|
|
@@ -110,6 +110,17 @@ |
|
@@ -110,6 +110,17 @@ |
110
|
<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}">
|
110
|
<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}">
|
111
|
</div>
|
111
|
</div>
|
112
|
</div>
|
112
|
</div>
|
|
|
113
|
+ <div class="form-group">
|
|
|
114
|
+ <label class="control-label col-xs-12 col-sm-2">是否可用:</label>
|
|
|
115
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
116
|
+ <input data-rule="required" name="row[status]" type="hidden" value="false" />
|
|
|
117
|
+ {if $row.status== 'true' }
|
|
|
118
|
+ <input id="c-status" data-rule="required" name="row[status]" type="checkbox" checked="checked" value="true" />
|
|
|
119
|
+ {else}
|
|
|
120
|
+ <input id="c-status" data-rule="required" name="row[status]" type="checkbox" value="true" />
|
|
|
121
|
+ {/if}
|
|
|
122
|
+ </div>
|
|
|
123
|
+ </div>
|
113
|
<div class="form-group layer-footer">
|
124
|
<div class="form-group layer-footer">
|
114
|
<label class="control-label col-xs-12 col-sm-2"></label>
|
125
|
<label class="control-label col-xs-12 col-sm-2"></label>
|
115
|
<div class="col-xs-12 col-sm-8">
|
126
|
<div class="col-xs-12 col-sm-8">
|