Browse Source

bugfix:昵称修改bug修复。

pull/24/head
zjz1993 5 years ago
parent
commit
478ecd51b6
  1. 9
      views/user_edit.ejs

9
views/user_edit.ejs

@ -22,6 +22,10 @@
<% } %> <% } %>
> >
</div> </div>
<div class="field">
<label for="nickname">昵称</label>
<input type="text" id="nickname" name="nickname" value="<%= edited_user.nickname %>">
</div>
<div class="field"> <div class="field">
<label for="username">匿名名称</label> <label for="username">匿名名称</label>
<input type="text" id="anonymous_name" name="anonymous_name" value="<%= edited_user.anonymous_name %>"> <input type="text" id="anonymous_name" name="anonymous_name" value="<%= edited_user.anonymous_name %>">
@ -72,11 +76,6 @@
<input type="hidden" name="information"> <input type="hidden" name="information">
<div class="ui form"> <div class="ui form">
<div class="field">
<label class="ui header">昵称</label>
<input type="text" placeholder="昵称" name="nickname" value="<%= edited_user.nickname %>" id="nickname">
</div>
<div class="field"> <div class="field">
<label class="ui header">密码</label> <label class="ui header">密码</label>
<input type="password" placeholder="原密码(留空则不修改)" name="old_password" id="old_password"> <input type="password" placeholder="原密码(留空则不修改)" name="old_password" id="old_password">

Loading…
Cancel
Save