code: def render(self, name, value, attrs=None, **kwargs):
          
          if self.confirm_with:
              self.attrs['data-confirm-with'] = 'id_%s' % self.confirm_with
  
          confirmation_markup = """
          <div style="margin-top: 10px;" class="hidden password_strength_info">
              <p class="text-muted">
                  <span class="label label-danger">
                      %s
                  </span>
                  <span style="margin-left:5px;">%s</span>
              </p>
          </div>
          """ % (_('Warning'), _("Your passwords don't match."))
  
          try:
              self.attrs['class'] = '%s password_confirmation'.strip() % self.attrs['class']  # noqa
          except KeyError:
              self.attrs['class'] = 'password_confirmation'
  
          return mark_safe(super(PasswordConfirmationInput, self).render(  # nosec
              name, value, attrs) + confirmation_markup)
docs: Widget render method.