def render(self, name, value, attrs=None, **kwargs):
if self.confirm_with:<EOL><INDENT>self.attrs['<STR_LIT>'] = '<STR_LIT>' % self.confirm_with<EOL><DEDENT>confirmation_markup = """<STR_LIT>""" % (_('<STR_LIT>'), _("<STR_LIT>"))<EOL>try:<EOL><INDENT>self.attrs['<STR_LIT:class>'] = '<STR_LIT>'.strip() % self.attrs['<STR_LIT:class>']  <EOL><DEDENT>except KeyError:<EOL><INDENT>self.attrs['<STR_LIT:class>'] = '<STR_LIT>'<EOL><DEDENT>return mark_safe(super(PasswordConfirmationInput, self).render(  <EOL>name, value, attrs) + confirmation_markup)<EOL>
Widget render method.