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

@ -21,6 +21,10 @@
<% if (!user.allowedManage) { %> readonly <% if (!user.allowedManage) { %> readonly
<% } %> <% } %>
> >
</div>
<div class="field">
<label for="nickname">昵称</label>
<input type="text" id="nickname" name="nickname" value="<%= edited_user.nickname %>">
</div> </div>
<div class="field"> <div class="field">
<label for="username">匿名名称</label> <label for="username">匿名名称</label>
@ -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