diff options
author | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-20 21:56:37 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-20 21:58:27 +0300 |
commit | e9a64f3b41b5eae47dec7c0ecfd1caae83136abc (patch) | |
tree | c07898520a7015c3f2a201ca0674efea82dd76a5 /views/register.templ | |
parent | 9c0a6b21f8f8d9b725e1fe7f11da4532e04fd9f1 (diff) |
initialv0.0.1
Diffstat (limited to 'views/register.templ')
-rw-r--r-- | views/register.templ | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/views/register.templ b/views/register.templ new file mode 100644 index 0000000..9974110 --- /dev/null +++ b/views/register.templ @@ -0,0 +1,18 @@ +package views + +templ Register(username, email string) { + @Layout() { + <h1>Регистрация</h1> + <form method="post"> + <label for="username">Имя пользователя:</label> + <input type="text" id="username" name="username" required="true" placeholder="имя пользователя" value={ username }/> + <label for="email">Электропочта:</label> + <input type="email" id="email" name="email" required="true" placeholder="имя@mail.ru" value={ email }/> + <label for="password">Пароль:</label> + <input type="password" id="password" name="password" required="true" placeholder="пароль"/> + <label for="password2">Повторите пароль:</label> + <input type="password" id="password2" name="password2" required="true" placeholder="повторите пароль"/> + <input type="submit" value="Регистрация"/> + </form> + } +} |