{volist name="form.options" id="item" key="items_key"}
- {$key|htmlspecialchars}
{/volist}

{volist name="form.options" id="items" key="items_key"}
{volist name="items" id="form_group"} {switch name="form_group.type"} {case value="text"} {// 单行文本框 } {include file="form_builder/items/text" type="_group" /} {/case} {case value="textarea"} {// 多行文本框 } {include file="form_builder/items/textarea" type="_group" /} {/case} {case value="radio"} {// 单选 } {include file="form_builder/items/radio" type="_group" /} {/case} {case value="checkbox"} {// 多选 } {include file="form_builder/items/checkbox" type="_group" /} {/case} {case value="date"} {// 日期 } {include file="form_builder/items/date" type="_group" /} {/case} {case value="time"} {// 时间 } {include file="form_builder/items/time" type="_group" /} {/case} {case value="datetime"} {// 日期时间 } {include file="form_builder/items/datetime" type="_group" /} {/case} {case value="daterange"} {// 日期范围 } {include file="form_builder/items/daterange" type="_group" /} {/case} {case value="tags"} {// 标签 } {include file="form_builder/items/tags" type="_group" /} {/case} {case value="number"} {// 数字 } {include file="form_builder/items/number" type="_group" /} {/case} {case value="password"} {// 密码 } {include file="form_builder/items/password" type="_group" /} {/case} {case value="select"} {// 下拉菜单 } {include file="form_builder/items/select" type="_group" /} {/case} {case value="select2"} {// 下拉菜单2 } {include file="form_builder/items/select2" type="_group" /} {/case} {case value="image"} {// 单图片 } {include file="form_builder/items/image" type="_group" /} {/case} {case value="images"} {// 多图片 } {include file="form_builder/items/images" type="_group" /} {/case} {case value="file"} {// 单文件 } {include file="form_builder/items/file" type="_group" /} {/case} {case value="files"} {// 多文件 } {include file="form_builder/items/files" type="_group" /} {/case} {case value="editor"} {// 编辑器 } {include file="form_builder/items/editor" type="_group" /} {/case} {case value="editor"} {// 按钮 } {include file="form_builder/items/button" type="_group" /} {/case} {case value="hidden"} {// 隐藏域 } {include file="form_builder/items/hidden" type="_group" /} {/case} {case value="html"} {// 自定义html } {include file="form_builder/items/html" type="_group" /} {/case} {case value="color"} {// 取色器 } {include file="form_builder/items/color" type="_group" /} {/case} {default/} {/switch} {/volist}
{/volist}