added site header in forms routes

This commit is contained in:
2026-06-01 14:07:19 +01:00
parent 5a14b125d2
commit 9aff454ec2
10 changed files with 99 additions and 163 deletions
+20 -14
View File
@@ -4,22 +4,28 @@
<%- include('../partials/head.ejs') %>
</head>
<body>
<form action="<%= config.site_path %>/submit_post" method="POST">
<label><%= locale.username %>:</label><br/>
<input required name="username"><br/><br/>
<div id="main">
<header id="site-header">
<%- include("../headers/site_wide") %>
</header>
<form action="<%= config.site_path %>/submit_post" method="POST">
<label><%= locale.username %>:</label><br/>
<input required name="username"><br/><br/>
<label><%= locale.password %>:</label><br/>
<input type="password" required id="password" name="password"><br/><br/>
<label><%= locale.password %>:</label><br/>
<input type="password" required id="password" name="password"><br/><br/>
<label><%= locale.title %>:</label><br/>
<input required name="title"><br/><br/>
<label><%= locale.title %>:</label><br/>
<input required name="title"><br/><br/>
<label><%= locale.post_content %>:</label><br/>
<textarea required name="content"></textarea><br/><br/>
<label><%= locale.post_content %>:</label><br/>
<textarea required name="content"></textarea><br/><br/>
<label><%= locale.tags %>:</label><br/>
<input name="tags"><br/><br/>
<label><%= locale.tags %>:</label><br/>
<input name="tags"><br/><br/>
<input type="submit" value="Submit"><br/>
</body>
</form></html>
<input type="submit" value="Submit"><br/>
</form>
</div>
</body>
</html>