正在显示
2 个修改的文件
包含
7 行增加
和
5 行删除
@@ -87,8 +87,6 @@ class QuestionBoy extends Backend | @@ -87,8 +87,6 @@ class QuestionBoy extends Backend | ||
87 | $this->error(__('Parameter %s can not be empty', '')); | 87 | $this->error(__('Parameter %s can not be empty', '')); |
88 | } | 88 | } |
89 | $row['config'] = json_decode($row['config']); | 89 | $row['config'] = json_decode($row['config']); |
90 | - dump($row['config']); | ||
91 | - die; | ||
92 | $this->view->assign("row", $row); | 90 | $this->view->assign("row", $row); |
93 | return $this->view->fetch(); | 91 | return $this->view->fetch(); |
94 | } | 92 | } |
@@ -8,9 +8,13 @@ | @@ -8,9 +8,13 @@ | ||
8 | </div> | 8 | </div> |
9 | <div class="form-group"> | 9 | <div class="form-group"> |
10 | <label class="control-label col-xs-12 col-sm-2">{:__('Config')}:</label> | 10 | <label class="control-label col-xs-12 col-sm-2">{:__('Config')}:</label> |
11 | - <div class="col-xs-12 col-sm-8"> | ||
12 | - <input id="c-config" class="form-control" name="row[config]" type="text" value="{$row.config|htmlentities}"> | ||
13 | - </div> | 11 | + {foreach name="row.config" item="vo"} |
12 | + <div>{$vo}</div> | ||
13 | + {/foreach} | ||
14 | + | ||
15 | + <!-- <div class="col-xs-12 col-sm-8">--> | ||
16 | +<!-- <input id="c-config" class="form-control" name="row[config]" type="text" value="{$row.config|htmlentities}">--> | ||
17 | +<!-- </div>--> | ||
14 | </div> | 18 | </div> |
15 | <div class="form-group layer-footer"> | 19 | <div class="form-group layer-footer"> |
16 | <label class="control-label col-xs-12 col-sm-2"></label> | 20 | <label class="control-label col-xs-12 col-sm-2"></label> |
-
请 注册 或 登录 后发表评论