summaryrefslogtreecommitdiffstats
path: root/templates/login.rs.html
blob: 10efaf35c99442630054b7e593c98a4e73da7023 (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, None, {
<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>
})