代码
提交代码
<form class="ui form" action="/user/settings" method="post"> <div class="required field "> <label for="username">用户名<span class="text red hide" id="name-change-prompt"> 该操作将会影响到所有与您帐户有关的链接</span></label> <input id="username" name="name" value="" data-name="jdhg" autofocus="" required=""><!--初始化表单是空--> </div> <div class="field"> <input type="submit" value="提交"> </div> </form>
运行结果