Added locale (english only at the moment) and modifed the EJS so I think
every string is customisable (via the /locales/selected locale)
This commit is contained in:
@@ -5,11 +5,19 @@
|
||||
</head>
|
||||
<body>
|
||||
<form action="/submit_signup" method="POST">
|
||||
<input placeholder="username" required name="username"><br/>
|
||||
<input placeholder="prettyname" required name="prettyname"><br/>
|
||||
<input placeholder="password" type="password" required id="password" name="password"><br/>
|
||||
<textarea placeholder="description (social links, what you do etc), supports markdown" id="description" name="description"></textarea><br/>
|
||||
<label><%- config.string.signup_agreement %>: </label><input type="checkbox" name="agreement" required><br/>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user