作者 王智

修改

... ... @@ -3,13 +3,16 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Question')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-question" data-rule="required" class="form-control" name="row[question]" type="text" value="{$row.question|htmlentities}">
<input id="c-question" data-rule="required" class="form-control" name="row[question]" type="text"
value="{$row.question|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Config')}:</label>
{foreach name="row.config" item="vo"}
<div>{$vo}</div>
<div class="col-xs-12 col-sm-8">
<input id="c-config" class="form-control" name="{$vo}}" type="text" value="{$vo|htmlentities}">
</div>
{/foreach}
... ...