mikhailemv

Untitled

Jun 13th, 2023
882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.27 KB | None | 0 0
  1. {% extends 'users/registration/base.html' %}
  2.  
  3. {% load static %}
  4.  
  5. {% block head %}
  6.   <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
  7.      integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  8.   <link rel="stylesheet" href="{% static 'css/styleRegister.css' %}">
  9.   <title>Счета</title>
  10. {% endblock %}
  11.  
  12.  
  13. {% block content %}
  14.  
  15.   <ul>
  16.     <li>
  17.       <a href="{% url 'home' %}">На главную</a>
  18.     </li>
  19.   </ul>
  20.  
  21. <div class="container">
  22.   <div class="form-login">
  23.     <div class="active" class="form-login-title">
  24.       <ul>
  25.         <li><a href="{% url 'login' %}">Вход</a></li>
  26.         <li class="active">Регистрация</li>
  27.       </ul>
  28.     </div>
  29.  
  30.     <form action="/users/register/" method="post">
  31.       {% csrf_token %}
  32.       <input type="hidden"
  33.             name="csrfmiddlewaretoken"
  34.             value="{{ csrf_token }}">
  35.  
  36.       <label for="id_username">Имя пользователя:</label>
  37.       <input type="text"
  38.             name="username"
  39.             maxlength="150"
  40.             autocapitalize="none"
  41.             autocomplete="username"
  42.             required=""
  43.             id="id_username">
  44.       <br>
  45.       <label for="id_email">Адрес электронной почты:</label>
  46.       <input type="email"
  47.             name="email"
  48.             autocomplete="email"
  49.             maxlength="254"
  50.             autofocus=""
  51.             required=""
  52.             id="id_email">
  53.       <br>
  54.       <label for="id_password1">Пароль:</label>
  55.       <input type="password"
  56.             name="password1"
  57.             autocomplete="new-password"
  58.             required=""
  59.             id="id_password1"
  60.             aria-autocomplete="list">
  61.       <br>
  62.       <label for="id_password2">Подтверждение пароля:</label>
  63.       <input type="password"
  64.             name="password2"
  65.             autocomplete="new-password"
  66.             required=""
  67.             id="id_password2">
  68.       <br>
  69.       <div class="btn button-login-title">
  70.         <button type="submit" class="button-login">Зарегистрироваться</button>
  71.       </div>
  72.     </form>
  73.   </div>
  74. </div>
  75.  
  76. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment