28 lines
742 B
HTML
28 lines
742 B
HTML
@use crate::templates::{layout_html, return_home_html};
|
|
|
|
@()
|
|
|
|
@:layout_html("Login", {
|
|
<section>
|
|
<h1>Login</h1>
|
|
</section>
|
|
<section>
|
|
<form method="POST" action="/login">
|
|
<div class="form-body">
|
|
<label for="username">
|
|
<h4>Username</h4>
|
|
<input name="username" type="text" />
|
|
</label>
|
|
<label for="password">
|
|
<h4>Password</h4>
|
|
<input name="password" type="password" />
|
|
</label>
|
|
</div>
|
|
<div class="submit">
|
|
<button type="submit">Login!</button>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
@:return_home_html()
|
|
})
|