summaryrefslogtreecommitdiffstats
path: root/templates/login.rs.html
blob: 6dff4f44ed264d4a1f7c08bdf7107c5166bf1946 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@use super::base_html;
@use crate::notification::Notification;

@(notification: Option<Notification>)

@:base_html(None, notification, {
<form action="/login" method="post">
  <label for="username">username:</label>
  <input type="text" id="username" name="username" required="true" />
  <label for="username">password:</label>
  <input type="text" id="password" name="password" required="true" />
  <label for="rememberme">remember me:</label>
  <input type="checkbox" id="rememberme" name="rememberme" />
  <button type="submit">log in</button>
</form>
})