| Giorgi Lekveishvili | 12850ee | 2023-06-22 13:11:17 +0400 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en" data-theme="light"> |
| DTabidze | 5259339 | 2024-03-08 12:53:20 +0400 | [diff] [blame] | 3 | <head> |
| 4 | <link rel="stylesheet" href="/static/pico.2.0.6.min.css"> |
| 5 | <link rel="stylesheet" href="/static/welcome.css"> |
| 6 | <meta charset="utf-8" /> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 8 | </head> |
| 9 | <body> |
| 10 | <main class="container"> |
| 11 | <div class="form-container"> |
| 12 | <form action="" method="POST"> |
| 13 | <input class="input-field" |
| 14 | type="text" |
| 15 | name="username" |
| 16 | placeholder="Username" |
| 17 | aria-label="Username" |
| 18 | value="{{ .Data.Username }}" |
| 19 | aria-invalid="{{ if .UsernameErrors }}true{{ else }}undefined{{ end }}" |
| 20 | required |
| 21 | /> |
| 22 | {{ if .UsernameErrors }} |
| 23 | {{ range .UsernameErrors }} |
| 24 | <small class="error-message" aria-live="assertive"> |
| 25 | {{ . }} |
| 26 | </small> |
| 27 | {{ end }} |
| 28 | {{ end }} |
| 29 | <input class="input-field" |
| 30 | type="password" |
| 31 | name="password" |
| 32 | placeholder="Password" |
| 33 | aria-label="Password" |
| 34 | value="{{ .Data.Password }}" |
| 35 | aria-invalid="{{ if .PasswordErrors }}true{{ else }}undefined{{ end }}" |
| Giorgi Lekveishvili | 123a367 | 2023-12-04 13:01:29 +0400 | [diff] [blame] | 36 | required |
| 37 | /> |
| DTabidze | 5259339 | 2024-03-08 12:53:20 +0400 | [diff] [blame] | 38 | {{ if .PasswordErrors }} |
| 39 | {{ range .PasswordErrors }} |
| 40 | <small class="error-message" aria-live="assertive"> |
| 41 | {{ . }} |
| 42 | </small> |
| 43 | {{ end }} |
| 44 | {{ end }} |
| 45 | <input class="input-field" |
| 46 | type="text" |
| 47 | name="secret-token" |
| 48 | placeholder="Secret Token" |
| 49 | aria-label="Secret Token" |
| 50 | value="{{ .Data.SecretToken }}" |
| 51 | required |
| 52 | /> |
| 53 | <button type="submit">Create Account</button> |
| 54 | </form> |
| 55 | </div> |
| 56 | </main> |
| 57 | </body> |
| Giorgi Lekveishvili | 12850ee | 2023-06-22 13:11:17 +0400 | [diff] [blame] | 58 | </html> |