💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` {extend name="layout" /} {block name="right"} <article class="page-container"> <form class="form form-horizontal" action="{:url('save')}"> <input type="hidden" class="input-text" name="id" value="{$info.id|default=''}"> <div class="row cl"> <label class="form-label col-xs-4 col-sm-2">名称</label> <div class="formControls col-xs-8 col-sm-4"> <input type="text" class="input-text" name="name" value="{$info.name|default=''}"> </div> </div> <div class="row cl"> <label class="form-label col-xs-4 col-sm-2">排序</label> <div class="formControls col-xs-8 col-sm-4"> <input type="text" class="input-text" name="sort" value="{$info.sort|default=''}"> </div> </div> <div class="row cl"> <label class="form-label col-xs-4 col-sm-2">点击次数</label> <div class="formControls col-xs-8 col-sm-4"> <input type="text" class="input-text" name="views" value="{$info.views|default='50'}"> </div> </div> <div class="row cl"> <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>状态</label> <div class="formControls col-xs-8 col-sm-4 skin-minimal"> <div class="radio-box"> <input type="radio" name="status" value="1" {if $info['status']['val'] == 1}checked{/if} /> <label>启用</label> </div> <div class="radio-box"> <input type="radio" value="0" name="status" {if $info['status']['val'] == 0}checked{/if}> <label>禁用</label> </div> </div> </div> <div class="row cl"> <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2"> <button class="btn btn-primary radius" type="submit">保存</button> </div> </div> </form> </article> {/block} ```