<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">{:__('User_id')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Question_id')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-question_id" data-rule="required" data-source="question/index" class="form-control selectpage" name="row[question_id]" type="text" value="{$row.question_id|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Type_ids')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-type_ids" data-rule="required" data-source="type/index" data-multiple="true" class="form-control selectpage" name="row[type_ids]" type="text" value="{$row.type_ids|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Type_names')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-type_names" data-rule="required" class="form-control" name="row[type_names]" type="text" value="{$row.type_names|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-remark" data-rule="required" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}"> </div> </div>--> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label> <div class="col-xs-12 col-sm-8"> <div class="radio"> {foreach name="statusList" item="vo"} <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> {/foreach} </div> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Message')}:</label> <div class="col-xs-12 col-sm-8"> <textarea id="c-message" name="row[message]" class="form-control" data-rule="required" cols="30" rows="5">{$row.message|htmlentities}</textarea> </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> <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button> </div> </div> </form>