include @/helper/helper.pug +flush() block var -title="颜色" // 网页标题 title 颜色 div(class="container page") if isLogin form(action="/color" method="post" style="margin: 0 auto; width: 500px;margin-top: 50px") h1 提交新颜色 .field .label 名称 .control input.input(type="text" name="name" placeholder="请输入名称") .field .label 颜色值 .control input.input(type="text" name="value" placeholder="请输入颜色值") .field .label 描述 .control textarea.textarea(placeholder="请输入描述" name="desctibe") +security .field.is-grouped .control button.button.is-link(type="submit") 提交 //- div //- form(action="POST" method="post") //- div(class=".wrapper_input"): input(type="text" tabindex="1" value="sadsa" name="a") //- div(class=".wrapper_input"): input(type="text" tabindex="3" value="sadsa" name="b") //- button(type="submit" tabindex="2") 提交 .color-content include @/htmx/ui/color-list.pug