mirror of
https://github.com/ordinary-dev/phoenix
synced 2024-09-20 03:40:29 +05:00
Ivan R.
6d25c4e8af
With the release of Go 1.22, the standard library now has all the necessary functions that allow us to abandon Gin. I hope this rewrite will lower the entry barrier for new developers. As a nice bonus, the size of the program has decreased from 20 to 15.4 MB. To solve issue #81, request logging has been improved. Now all errors are displayed in the logs.
29 lines
809 B
Cheetah
29 lines
809 B
Cheetah
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
{{ template "head" . }}
|
|
<link rel="stylesheet" href="assets/css/auth.css" />
|
|
</head>
|
|
<body>
|
|
<div class="page">
|
|
<form action="{{ .formAction }}" method="POST">
|
|
<h1>{{ .title }}</h1>
|
|
<p>{{ .description }}</p>
|
|
<input
|
|
placeholder="Username"
|
|
name="username"
|
|
type="text"
|
|
required
|
|
/>
|
|
<input
|
|
placeholder="Password"
|
|
name="password"
|
|
type="password"
|
|
required
|
|
/>
|
|
<button type="submit">{{.button}}</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|