aboutsummaryrefslogtreecommitdiff
path: root/views/register.templ
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-20 21:56:37 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-20 21:58:27 +0300
commite9a64f3b41b5eae47dec7c0ecfd1caae83136abc (patch)
treec07898520a7015c3f2a201ca0674efea82dd76a5 /views/register.templ
parent9c0a6b21f8f8d9b725e1fe7f11da4532e04fd9f1 (diff)
initialv0.0.1
Diffstat (limited to 'views/register.templ')
-rw-r--r--views/register.templ18
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>
+ }
+}