summaryrefslogtreecommitdiffstats
path: root/templates/login.rs.html
blob: a82c6327121ab82c77064231b7dd5b9265f164fb (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>
})