www_fpvone_cn/application/admin/view/renzheng/edit.html

36 lines
1.7 KiB
HTML

<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">{:__('Openid')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-openid" class="form-control" name="row[openid]" type="text" value="{$row.openid|htmlentities}">
</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">
<!--<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 class="form-group">
<!--<label for="c-audit_status" class="control-label col-xs-12 col-sm-2">通知状态</label>-->
<div class="col-xs-12 col-sm-8">
<!--{:build_radios('status', ['0' => '关闭', '1' => '正常'])}-->
{:build_radios('row[status]', ['0'=>'关闭', '1'=>'正常'], $row['status'])}
</div>
</div>
</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>