Files
blogger-nodejs/views/forms/signup.ejs
DeaDvey 6fc1f85e18 Added locale (english only at the moment) and modifed the EJS so I think
every string is customisable (via the /locales/selected locale)
2025-08-09 16:57:31 +01:00

25 lines
894 B
Plaintext

<!DOCTYPE html>
</html lang="<%= config.language %>">
<head>
<%- include("../partials/head") %>
</head>
<body>
<form action="/submit_signup" method="POST">
<label><%= locale.username %></label><br/>
<input required name="username"><br/><br/>
<label><%= locale.prettyname %></label><br/>
<input required name="prettyname"><br/><br/>
<label><%= locale.password %></label><br/>
<input type="password" required id="password" name="password"><br/><br/>
<label><%= locale.description %></label><br/>
<textarea id="description" name="description"></textarea><br/><br/>
<label><%- locale.signup_agreement %>: </label><input type="checkbox" name="agreement" required><br/>
<input type="submit" value="Submit"><br/>
</form>
</body>
</html>