equal
deleted
inserted
replaced
1073 else: |
1073 else: |
1074 enctype = 'application/x-www-form-urlencoded' |
1074 enctype = 'application/x-www-form-urlencoded' |
1075 tag = ('<form action="%s" method="post" id="%s" enctype="%s"' % ( |
1075 tag = ('<form action="%s" method="post" id="%s" enctype="%s"' % ( |
1076 html_escape(form.action or '#'), form.domid, enctype)) |
1076 html_escape(form.action or '#'), form.domid, enctype)) |
1077 if form.onsubmit: |
1077 if form.onsubmit: |
1078 tag += ' onsubmit="%s"' % html_escape(form.onsubmit) |
1078 tag += ' onsubmit="%s"' % html_escape(form.onsubmit % form.__dict__) |
1079 if form.cssstyle: |
1079 if form.cssstyle: |
1080 tag += ' style="%s"' % html_escape(form.cssstyle) |
1080 tag += ' style="%s"' % html_escape(form.cssstyle) |
1081 if form.cssclass: |
1081 if form.cssclass: |
1082 tag += ' class="%s"' % html_escape(form.cssclass) |
1082 tag += ' class="%s"' % html_escape(form.cssclass) |
1083 if form.cwtarget: |
1083 if form.cwtarget: |