{"content": "\n<div class=\"djDebugPanelTitle\">\n  <button type=\"button\" class=\"djDebugClose\">\u00bb</button>\n  <h3>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0448\u0430\u0431\u043b\u043e\u043d\u0430: <code>accounts/login.html</code></h3>\n</div>\n<div class=\"djDebugPanelContent\">\n  <div class=\"djdt-scroll\">\n    \n      <code>{% extends &#x27;base.html&#x27; %}\n{% load static %}\n\n\n{% block content %}\n&lt;style type=&quot;text/css&quot;&gt;\n.password {\n\tmargin: 15px auto;\n\tposition: relative;\n}\n#password-input {\n\twidth: 100%;\n\tpadding: 5px 0;\n\theight: 30px;\n\tline-height: 40px;\n\ttext-indent: 10px;\n\tmargin: 0 0 15px 0;\n\tborder-radius: 5px;\n\tborder: 1px solid #999;\n\tfont-size: 18px;\n}\n.password-control {\n\tposition: absolute;\n\ttop: 38px;\n\tright: 6px;\n\tdisplay: inline-block;\n\twidth: 20px;\n\theight: 20px;\n\tbackground: url(https://snipp.ru/demo/495/view.svg) 0 0 no-repeat;\n}\n.password-control.view {\n\tbackground: url(https://snipp.ru/demo/495/no-view.svg) 0 0 no-repeat;\n}\n&lt;/style&gt;\n\n&lt;div class=&quot;container&quot;&gt;\n    &lt;div class=&quot;row justify-content-center&quot;&gt;\n        &lt;div class=&quot;col-12 col-lg-3 pull-right mt-3 p-4&quot; style=&quot;padding-left: 0px; text-align: center;&quot;&gt;\n            &lt;p style=&quot;font-size: 50px; opacity: 0.5;&quot;&gt;&lt;i class=&quot;bi bi-person-circle&quot;&gt;&lt;/i&gt;&lt;/p&gt;\n                &lt;form method=&quot;POST&quot; action=&quot;{% url &#x27;users:login&#x27; %}&quot;&gt;    \n                    {% csrf_token %}\n\n                   &lt;div class=&#x27;mb-2&#x27; style=&quot;text-align: left;&quot;&gt;\n                       &lt;p class=&#x27;mb-1&#x27;&gt;&lt;strong&gt;\u041b\u043e\u0433\u0438\u043d&lt;/strong&gt;&lt;/p&gt;\n                       &lt;input type=&quot;text&quot; name=&quot;username&quot; placeholder=&quot;\u041b\u043e\u0433\u0438\u043d \u0438\u043b\u0438 Email&quot; class=&quot;form-control &quot; maxlength=&quot;100&quot; required=&quot;&quot; id=&quot;id_username&quot;&gt;\n                        {% if form.username.errors %}\n                           {% for error in form.username.errors %}\n                               &lt;p style=&#x27;color:red;&#x27;&gt;{{ error }}&lt;/p&gt;\n                           {% endfor %}\n                       {% endif %}\n                   &lt;/div&gt;\n                   &lt;div class=&#x27;mb-2 password&#x27; style=&quot;text-align: left;&quot;&gt;\n                       &lt;p class=&#x27;mb-1&#x27;&gt;&lt;strong&gt;\u041f\u0430\u0440\u043e\u043b\u044c&lt;/strong&gt;&lt;/p&gt;\n                       &lt;input type=&quot;password&quot; name=&quot;password&quot; placeholder=&quot;\u041f\u0430\u0440\u043e\u043b\u044c&quot; class=&quot;form-control &quot; autocomplete=&quot;password1&quot; required=&quot;&quot; id=&quot;id_password&quot;&gt;\n                       &lt;a href=&quot;#&quot; class=&quot;password-control&quot; onclick=&quot;return show_hide_password(this);&quot;&gt;&lt;/a&gt;\n                        {% if form.password.errors %}\n                           {% for error in form.password.errors %}\n                               &lt;p style=&#x27;color:red;&#x27;&gt;{{ error }}&lt;/p&gt;\n                           {% endfor %}\n                       {% endif %}\n                   &lt;/div&gt;\n                    &lt;div class=&quot;d-grid gap-1 my-0 py-0&quot;&gt;\n                        &lt;button class=&quot;btn  btn-success mt-2 mb-5&quot; type=&quot;submit&quot;&gt;&lt;i class=&quot;fa fa-sign-in&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt; \u0412\u043e\u0439\u0442\u0438&lt;/button&gt;\n                    &lt;/div&gt;\n                &lt;/form&gt;\n                &lt;a href=&quot;{% url &#x27;users:registration&#x27; %}&quot; style=&quot;color:red;&quot;&gt;\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f&lt;/a&gt; / \n                &lt;a href=&#x27;{% url &quot;users:password_reset&quot; %}&#x27; style=&quot;color: red;&quot;&gt;\u0417\u0430\u0431\u044b\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c? &lt;/a&gt;\n            &lt;/div&gt;\n    &lt;/div&gt;\n&lt;/div&gt;\n&lt;script&gt;\n    function show_hide_password(target){\n\tvar input = document.getElementById(&#x27;id_password&#x27;);\n\tif (input.getAttribute(&#x27;type&#x27;) == &#x27;password&#x27;) {\n\t\ttarget.classList.add(&#x27;view&#x27;);\n\t\tinput.setAttribute(&#x27;type&#x27;, &#x27;text&#x27;);\n\t} else {\n\t\ttarget.classList.remove(&#x27;view&#x27;);\n\t\tinput.setAttribute(&#x27;type&#x27;, &#x27;password&#x27;);\n\t}\n\treturn false;\n}\n&lt;/script&gt;\n{% endblock content %}\n\n</code>\n    \n  </div>\n</div>\n"}