editing user redirects to user's page and began to implment ATOM
This commit is contained in:
16
views/forms/edit_account.ejs
Normal file
16
views/forms/edit_account.ejs
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<%= config.language %>
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="/submit_edit_user" method="POST">
|
||||
<input name="userID" type="hidden" value="<%= userID %>">
|
||||
<input placeholder="<%= user.prettyname %>'s password" type="password" required id="password" name="password"><br/>
|
||||
<input placeholder="Pretty Name" name="prettyname" value="<%= user.prettyname %>"><br/>
|
||||
<textarea placeholder="Description" name="description"><%= user.description %></textarea><br/>
|
||||
<label><%- config.string.delete_account_confirmation %>: </label><input type="checkbox" name="agreement"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user