<div tal:replace="nothing">
<!--

camcops_server/templates/deform/informational_checked_password.pt

===============================================================================

    Copyright (C) 2012, University of Cambridge, Department of Psychiatry.
    Created by Rudolf Cardinal (rnc1001@cam.ac.uk).

    This file is part of CamCOPS.

    CamCOPS is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    CamCOPS is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with CamCOPS. If not, see <https://www.gnu.org/licenses/>.

===============================================================================
-->
</div>
<div i18n:domain="deform" tal:omit-tag=""
      tal:define="oid oid|field.oid;
                  name name|field.name;
                  css_class css_class|field.widget.css_class;
                  style style|field.widget.style;
                  autofocus autofocus|field.autofocus">
<div>
<span tal:replace="structure password_advice"></span>
</div>
<div>
<span tal:replace="structure min_password_length"></span>
</div>
${field.start_mapping()}
<div>
  <input type="password"
         name="${name}"
         value="${field.widget.redisplay and cstruct or ''}"
         tal:attributes="class string: form-control ${css_class or ''};
                         style style;
                         autofocus autofocus;
                         attributes|field.widget.attributes|{};"
         id="${oid}"
         i18n:attributes="placeholder"
         placeholder="Password"/>
</div>
<div>
  <input type="password"
         name="${name}-confirm"
         value="${field.widget.redisplay and confirm or ''}"
         tal:attributes="class string: form-control ${css_class or ''};
                         style style;
                         confirm_attributes|field.widget.confirm_attributes|{};"
         id="${oid}-confirm"
         i18n:attributes="placeholder"
         placeholder="Confirm Password"/>
</div>
${field.end_mapping()}
</div>
