Advertisement
mikhailemv

Untitled

Jun 13th, 2023
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.01 KB | None | 0 0
  1. {% extends 'users/profile/accounts/accounts_base.html' %}
  2.  
  3. {% block content %}
  4.   <h1>Добавление счета</h1>
  5.  
  6.   <form method="post">
  7.     {% csrf_token %}
  8.     <input type="hidden"
  9.           name="csrfmiddlewaretoken"
  10.           value="KPagzW2wMb1X3JygrD81ZYVHVZXSctH7FHA7tWGNFTv49HNtKm4IPvnokMsPv1TX">
  11.  
  12.     <p>
  13.       <label for="id_name">Name:</label>
  14.       <input type="text"
  15.             name="name"
  16.             maxlength="50"
  17.             required=""
  18.             id="id_name">
  19.     </p>
  20.  
  21.     <p>
  22.       <label for="id_balance">Balance:</label>
  23.       <input type="number"
  24.             name="balance"
  25.             step="10"
  26.             required=""
  27.             id="id_balance">
  28.     </p>
  29.  
  30.     <p>
  31.       <label for="id_color">Color:</label>
  32.       <input type="color"
  33.             name="color"
  34.             value="#000000"
  35.             maxlength="7"
  36.             required=""
  37.             id="id_color">
  38.     </p>
  39.  
  40.     <button>Добавить</button>
  41.   </form>
  42.  
  43. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement