Host snippets with a git backend. Like Gists but OpenSource.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

25 lines
1.1 KiB

{{template "base/head" .}}
<form class="form-signin" action="{{.Link}}" method="post">
<h2 class="form-signin-heading">{{.i18n.Tr "login.sign_in"}}</h2>
<div class="user_name form-group {{if .Err_UserName}}has-error{{end}}">
<label for="user_name" class="sr-only">{{.i18n.Tr "login.username"}}</label>
<input type="string" name="user_name" id="user_name" class="form-control" placeholder='{{.i18n.Tr "login.username_placeholder"}}' required autofocus>
<div class="password form-group {{if .Err_Password}}has-error{{end}}">
<label for="password" class="sr-only">{{.i18n.Tr "login.password"}}</label>
<input type="password" name="password" id="password" class="form-control" placeholder='{{.i18n.Tr "login.password_placeholder"}}' required>
<div class="checkbox">
<input type="checkbox" value="remember-me"> {{.i18n.Tr "login.remember_me"}}
<button class="btn btn-lg btn-primary btn-block" type="submit">{{.i18n.Tr "login.sign_in"}}</button>
{{template "base/footer" .}}